F-score

Why is one metric not enough to judge a binary classification model's performance?

F-score

Why is one metric not enough to judge a binary classification model's performance?

Imagine you're sorting emails into 'spam' or 'not spam.' You want to catch most spam but avoid mislabeling important emails as spam.

If you focus only on catching spam (high recall), you might miss important emails (low precision). If you only avoid mislabeling (high precision), you might let spam through (low recall). The F1 score balances these two concerns.

Example

You correctly label 80% of spam and 90% of important emails. Without the F1 score, you'd just look at these numbers separately, missing the balance between catching spam and preserving important emails.

Remember this

The F1 score combines precision and recall into one metric, showing the balance between catching spam and preserving important emails.

Related concepts

Swipe through more Machine Learning concepts

Open Pocket Polymath