Which metric should I evaluate my model with?
From what your model predicts and what its mistakes cost to the metric that measures it honestly.
A class (yes/no, or one of several)
Reasonably common (20–80%)
The probabilities (risk scores, pricing, ranking with thresholds later)
Rewards probabilities that are both sharp and honest; accuracy ignores how confident the model was.
Only the decisions
With balanced classes accuracy is meaningful — but always read the matrix behind it.
Rare (below 10%) — fraud, failures, disease
Missing a real case
Accuracy is meaningless here (predicting “no” for everything scores 99%). Set the threshold from the cost of each error.
A false alarm
Holds the alert volume to what people can handle, then asks how many alerts are real.
I need one number for comparing models
With rare positives ROC-AUC can look good while most alarms are false; PR-AUC focuses on the rare class.
A score used to rank or sort
The whole ranking
The probability that a random positive ranks above a random negative — threshold-free.
Only the top results
Measures what users actually see. Common for retrieval and recommendation.
A number (price, demand, duration)
In proportion to their size
In the units of the target and robust to outliers; it rewards predicting the median.
Big errors are much worse than small ones
Squares errors before averaging, so big misses dominate; it rewards predicting the mean.
I compare across series of very different scale
Scales error by a naive forecast’s error; MAPE explodes near zero and treats over- and under-forecasts differently.
I need to say how much variation is explained
A comparison with predicting the mean; on new data it can be negative.
Future values of a time series
Forecasts must beat the obvious baseline across many forecast origins, and their intervals should contain the outcome as often as promised.
Last reviewed: 2 October 2026 · How this site checks its content · Report a mistake