composer.core.evaluator#
composer.core.evaluator
Classes
Specifications for operating and training on data. |
|
Wrapper for a dataloader to include metrics that apply to a specific dataset. |
|
Base class for all metrics present in the Metrics API. |
|
|
MetricCollection class can be used to chain metrics that have the same call pattern into one single class. |
Attributes
TYPE_CHECKING
Union
annotations
- class composer.core.evaluator.Evaluator(*, label, dataloader, metrics)[source]#
Bases:
object
Wrapper for a dataloader to include metrics that apply to a specific dataset.
- dataloader#
Dataloader/DataSpec for evaluation data
- Type
Union[DataSpec, DataLoader]
- metrics#
Metrics to log. The metrics will be deep-copied to ensure that each evaluator updates only its metrics.
- Type
Metrics