sdt-metrics logo

Previous topic

f1

Next topic

mutual_info

This Page

specificity

Download [hi-res] [pdf]

specificity__lores.png
class sdt_metrics.specificity(methodname, add_prob_method=False)

specificity: TN / (TN + FP)

Note

This metric cannot be calculated from probabilities

classmethod direct(*args)

Calculates metric based on hit, miss, correct rejection, and false alarm counts

classmethod __call__(*args)

based on the number of args and the availability of .prob routes call to appropriate method.