specificity {causalDisco} | R Documentation |
Specificity
Description
Computes specificity from a confusion matrix, see confusion. Specificity is defined as TN/(TN + FP), where TN are true negatives and FP are false positives. If TN + FP = 0, 0 is returned.
Usage
specificity(confusion)
Arguments
confusion |
Confusion matrix as obtained from confusion |
Value
A numeric in [0,1].
[Package causalDisco version 0.9.1 Index]