Model Evaluation

Accuracy alone can lie. Learn precision, recall, F1, and the confusion matrix.

When to use which metric

Accuracy: Overall correct — misleading if classes are imbalanced.

Precision: Of predicted positives, how many were right?

Recall: Of actual positives, how many did we find?

F1: Balance between precision and recall.

Confusion Matrix Explorer

3True Negative
1False Positive
1False Negative
3True Positive
Click a cell for its meaning.
Accuracy75%
Precision75%
Recall75%
F175%