dataeval.data.Conform¶
-
class dataeval.data.Conform(dataset, conformers=
None)¶ Dataset view that conforms each datum via one or more
Conformerops.Wraps a dataset and applies a sequence of conformers that rewrite content (labels now; metadata, units, or imagery later) to make it conform to a target schema, without modifying the original dataset. Datums a conformer drops are excluded; surviving datums are transformed lazily on access. Dataset-level metadata (e.g.
index2label) is updated once at construction.- Parameters:¶
Examples
>>> from dataeval.data import Conform, Relabel >>> conformed = Conform(dataset, [Relabel(alignment, target)])- property metadata : dataeval.protocols.DatasetMetadata¶
Conformed dataset-level metadata (e.g. the target
index2label).