Evaluation Metrics Cheat Sheet: Hidden Assumptions in Your Data
Every metric quietly assumes something about your class balance, your costs, and your data distribution. Pick the wrong one and you will optimise for the wrong thing.
Why the metric you choose is a modelling decision
I used to treat metric choice as a formality, something you pick after the real work of training is done. That is backwards. A metric encodes assumptions about your data and your costs, and if those assumptions do not match reality, a high score can mean almost nothing. Two models with identical accuracy can behave completely differently on the cases you actually care about.
The trap is that most metrics are easy to compute and easy to misread. A number between zero and one feels objective, but it is only as meaningful as the assumptions baked into it. This post goes through the common ones and asks, plainly, what each one quietly assumes about your data.
Accuracy, precision, recall, and the balance assumption
Accuracy assumes that classes are roughly balanced and that all errors cost the same. Imagine a fraud detection set where 2 percent of transactions are fraudulent. A model that predicts 'not fraud' every single time scores 98 percent accuracy while catching zero fraud cases. The metric is not wrong, it is answering a question you did not actually ask.
Precision and recall fix part of this by focusing on the positive class, but they bring their own assumptions. Precision assumes that false positives are the cost you care about; recall assumes false negatives are. Say your fraud model flags 100 transactions, of which 40 are truly fraudulent and there were 60 fraud cases in total. Precision is 40 percent, recall is 67 percent. Neither number alone tells you whether the model is good, because that depends on whether a missed fraud case is more expensive than an annoyed customer whose card gets blocked.
The F1 score averages precision and recall, but it assumes those two costs are equal, which is rarely true in practice. In medical screening, missing a disease is usually far worse than a false alarm, so a metric that treats both equally is quietly misrepresenting your priorities. If you use F1 without checking this, you are letting a default assumption make a decision that should be yours.
A practical habit: before training anything, write down the actual cost of a false positive versus a false negative in your domain. Only then choose whether precision, recall, F1, or a weighted variant like F-beta actually reflects what you need. This single step avoids most of the embarrassment later.

AUC, calibration, and regression metrics
AUC-ROC is popular because it is threshold-independent, but that independence is itself an assumption: it assumes you do not yet know, or do not care, what decision threshold you will use in production. AUC also assumes a reasonably balanced evaluation set, because with severe imbalance it can look deceptively strong while the precision-recall curve tells a much harsher story. If your positive class is 1 percent of the data, I would trust a precision-recall curve far more than an AUC figure, because AUC can stay high even when precision at any useful threshold is poor.
There is also a quieter assumption in AUC and most classification metrics: that the model's confidence scores do not need to mean anything beyond ranking. A model can have excellent AUC while being badly calibrated, saying 90 percent confidence when it is right only 60 percent of the time. If downstream decisions depend on the actual probability, such as risk scoring or triage, you need a calibration check like a reliability diagram alongside AUC, not instead of it.
Regression metrics carry their own baggage. RMSE assumes errors are roughly symmetric and that large errors deserve disproportionate punishment, because squaring amplifies outliers. If your target variable has a few extreme values, say predicting house prices where a handful of mansions sell for ten times the median, RMSE will be dominated by how well you predict those few points, not by your typical accuracy. MAE assumes all errors matter linearly regardless of size, which is often closer to how humans actually experience prediction error, but it can mask a model that is wildly wrong on rare but important cases.
R-squared assumes a reasonable baseline of explained variance is meaningful and comparable across datasets, but it depends heavily on how much natural variance exists in your target. An R-squared of 0.3 can be genuinely impressive for predicting human behaviour, where noise is inherent, and mediocre for predicting a physical quantity governed by clean equations. The number alone tells you nothing without that context.
A practical closing checklist
Before trusting any single metric, I now ask three questions. First, what is the actual class balance or distribution of my target, and does this metric assume something different? Second, what are the real costs of different error types, and does the metric weight them the way my problem actually requires? Third, will my test set and evaluation protocol reflect how the model will be used, including any leakage from correlated samples or time ordering that could inflate the score artificially.
No single metric tells the whole story, which is why I always report at least two that assume different things, such as a threshold-free ranking metric alongside a cost-sensitive one at the operating threshold you intend to use. The goal is not to find the perfect metric, because it rarely exists; it is to be explicit about which assumptions you are accepting and which ones would quietly sink your evaluation if they turned out to be false.
The honest version of good evaluation practice is slower and less satisfying than reporting one clean number. But a metric chosen without scrutiny is really just an assumption wearing a disguise, and the only way to catch it is to ask, every time, what it is pretending not to notice about your data.
