What is Specificity?

The specificity is the analog of recall for the negative class. It measures the proportion of the observations that belong to the negative class that were correctly predicted to be negative labels. In general, Specificity is calculated by

Specificity = True Negatives / (True Negatives + False Positives)

Using an example:

Confusion Matrix

Specificity = 100 / (100 + 60) = .625

Author

Help us improve this post by suggesting in comments below:

– modifications to the text, and infographics
– video resources that offer clear explanations for this question
– code snippets and case studies relevant to this concept
– online blogs, and research publications that are a “must read” on this topic

Leave the first comment

Partner Ad