sdt-metrics logo

Previous topic

mcc

Next topic

npv

This Page

ppv

Download [hi-res] [pdf]

ppv__lores.png
class sdt_metrics.ppv(methodname, add_prob_method=False)

positive predictive value: TP / (TP + FP)

Note

This metric cannot be calculated from probabilities

sdt.precision() <==> sdt.ppv()

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.