Classification metrics measure matching classification quality between a
set query examples and a set of indexed examples.
-
class BinaryAccuracy
: Calculates how often the query label matches the derived lookup label. -
class ClassificationMetric
: Abstract base class for computing classification metrics. -
class F1Score
: Calculates the harmonic mean of precision and recall. -
class FalsePositiveRate
: Calculates the false positive rate of the query classification. -
class NegativePredictiveValue
: Calculates the negative predictive value of the query classification. -
class Precision
: Calculates the precision of the query classification. -
class Recall
: Calculates the recall of the query classification.
make_classification_metric(...)
: Convert classification metric from str name to object if needed.