ConfidenceMixin

class ConfidenceMixin[source]

Bases: object

A mixin for classes that have confidence information.

Methods Summary

get_confidence()

Get the confidence.

Methods Documentation

get_confidence() float[source]

Get the confidence.

Returns:

The confidence, which can either be a direct annotation or computed based on other related objects. For example, a MappingSet has an explicitly annotated confidence, whereas a ReasonedEvidence calculates its confidence based on all of its prior probability and the confidences of the mappings on which it depends.