dataeval.core.LabelAlignmentResult¶
- class dataeval.core.LabelAlignmentResult¶
Result of aligning a source vocabulary against a target ontology.
- correspondences¶
Accepted correspondences, all relations:
equivalent(exact or matcher),narrower(structurally entailed coarsening), andbroader(granularity-mismatch diagnostics). A custom matcher may also contributerelated.- Type:¶
Sequence[Correspondence]
- unaligned_source¶
Source concept ids with no carryable correspondence (not in
class_remap). Read open-world: out-of-vocabulary with respect to the target, not invalid.
- unaligned_target¶
Target concept ids never referenced by any correspondence — the part of the reference vocabulary the source does not cover.
- class_remap¶
source id -> target idfor the correspondences that license a rewrite (equivalentandnarroweronly): the safe carry-over of source labels into the target vocabulary.broader/relatedare excluded.
- mergeability¶
How completely the source is expressible in the target.
"lossless"— every source concept is carryable andclass_remapis injective (no two sources collapse to one target)."lossy"— every source is carryable butclass_remapcollapses two or more sources to a single target (specificity lost)."partial"— at least one source concept is unaligned (or onlybroader/related) and cannot be carried over. Generalizes reconciliation conformance (conformant = lossless, allequivalent).- Type:¶
{“lossless”, “lossy”, “partial”}