Skip to content

Metric can accept a dictionary #689

Closed
@vfdev-5

Description

Idea is to simplify user code and add logic into Metric to accept engine's output as

output = {'y_pred': y_pred, 'y': y, ...}

Such that Metric can work on the output of the following formats:

  • (y_pred, y)
  • {'y_pred': y_pred, 'y': y, ...}

This could help to avoid writing output_transform adaptor.

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions