Skip to main content

metric

superduper.components.metric

Source code

Metric​

Metric(self,
identifier: str,
db: dataclasses.InitVar[typing.Optional[ForwardRef('Datalayer')]] = None,
uuid: str = None,
*,
artifacts: 'dc.InitVar[t.Optional[t.Dict]]' = None,
object: Callable) -> None
ParameterDescription
identifierIdentifier of the leaf.
dbDatalayer instance.
uuidUUID of the leaf.
artifactsA dictionary of artifacts paths and DataType objects
objectCallable or an Artifact to be applied to the data.

Metric base object used to evaluate performance on a dataset.

These objects are callable and are applied row-wise to the data, and averaged.