dataeval.types¶
Data types used in DataEval.
Attributes¶
How a |
|
A mapping of metric names to their corresponding numpy array values. |
Classes¶
Mixin providing collection interface for Output subclasses. |
|
Configuration mixin for evaluators that use clustering. |
|
One typed mapping between a source and a target concept in an alignment. |
|
Descriptive metadata for a dataset artifact. |
|
Base class for all evaluators. |
|
Base configuration class for all evaluators. |
|
Metadata about the execution of the function or method for the Output class. |
|
Descriptor for a feature extractor as used to produce embeddings. |
|
Top-level schema for a |
|
Descriptive metadata for a model artifact. |
|
A single concept (class) within an ontology. |
|
Mixin providing consistent |
|
Descriptor for a single |
|
The indices of the source item, target and channel. |
|
All observations of a single object track within one video sequence. |
|
Descriptor for a single image transform (typically a torchvision transform). |
Output Classes¶
An Output that wraps a Polars DataFrame and proxies its interface. |
|
An Output that exposes its public instance attributes as a dictionary. |
|
An Output that wraps a mapping and proxies its interface. |
|
Base class for all evaluator output types. |
|
An Output that wraps a sequence and proxies its interface. |
Functions¶
Stamp Output classes with runtime metadata. |
Module Contents¶
- type dataeval.types.AlignmentRelation = 'equivalent' | 'narrower' | 'broader' | 'related'¶
How a
Correspondence’s source concept relates to its target concept.The vocabulary mirrors the W3C SKOS mapping properties:
"equivalent"(skos:exactMatch/owl:equivalentClass) — the two concepts denote the same class; the source label can be renamed losslessly."narrower"(skos:narrowMatch) — the source is more specific than the target; the source label can be safely coarsened up to the target."broader"(skos:broadMatch) — the source is more general than the target; carrying it over would require splitting it into finer targets, so the relation alone does not license a rewrite (diagnostic of a granularity mismatch)."related"(skos:relatedMatch) — the two are associated (e.g. share an ancestor) but neither subsumes the other; not a label rewrite.