sed_eval.metric.specificity

sed_eval.metric.specificity(Ntn, Nfp, eps=2.220446049250313e-16)[source]

Specificity

Wikipedia entry https://en.wikipedia.org/wiki/Sensitivity_and_specificity

Parameters:

Ntn : int >= 0

Number of true negatives.

Nfp : int >= 0

Number of false positives.

eps : float

eps. Default value numpy.spacing(1)

Returns:

specificity: float

Specificity