Skip to main content

AnnotationPairMetric

Similarity metric between a single annotation pair from two labels, as computed by the label-metrics service. Either side may be null when the annotation only exists in one of the two labels.

type AnnotationPairMetric {
jobName: String!
annotationIdA: ID
annotationIdB: ID
metric: Float!
categoryA: String
categoryB: String
shapeScore: Float
subjobsScore: Float
}

Fields

AnnotationPairMetric.jobName ● String! non-null scalar

AnnotationPairMetric.annotationIdA ● ID scalar

Annotation id from label A. Null when this annotation exists only in label B.

AnnotationPairMetric.annotationIdB ● ID scalar

Annotation id from label B. Null when this annotation exists only in label A.

AnnotationPairMetric.metric ● Float! non-null scalar

Blended final similarity in [0, 1]. 0 when one side is null (unmatched). For object detection this is 0.5*shape + 0.25*category + 0.25*subjobs (weights redistributed onto shape when a term is absent).

AnnotationPairMetric.categoryA ● String scalar

AnnotationPairMetric.categoryB ● String scalar

AnnotationPairMetric.shapeScore ● Float scalar

Object-detection only: the geometry component of the blended metric. Null otherwise.

AnnotationPairMetric.subjobsScore ● Float scalar

Object-detection only: the mean of the object's subjob scores. Null otherwise.

Member Of

LabelPairMetricResult object