Evaluation of binary classifiers

Why can't we just use one score for everything?

Evaluation of binary classifiers

Why can't we just use one score for everything?

Imagine you're comparing two weather apps to predict rain. One app is great at telling you when it's going to rain (high sensitivity), but misses a lot of sunny days (low specificity). The other app is great at telling you when it's not going to rain (high specificity), but misses some rainy days (low sensitivity).

If you want to know how reliable an app is overall, you can't just look at sunny days or rainy days separately. You need a way to see how well it predicts both, without caring if it's sunny or rainy.

Example

App A says it will rain 90% of the time it actually does, but it only says sunny 40% of the time when it's really sunny. App B says it won't rain 90% of the time it actually doesn't, but it only says sunny 60% of the time when it's really sunny.

Remember this

The Matthews correlation coefficient (MCC) is preferred when you need a single score that considers both the sensitivity and specificity of a binary classification model, regardless of the prevalence of sunny or rainy days.

Related concepts

Swipe through 100 ML concepts daily

Open Pocket Polymath