1. Accuracy and calibration are different
A classifier can rank examples perfectly while producing terrible probabilities. If among all predictions near 0.8, roughly 80% are actually positive, that region is well calibrated.
predicted 0.2 → about 20% positive
predicted 0.5 → about 50% positive
predicted 0.8 → about 80% positive
2. Reliability diagrams
Bin predictions by confidence and compare average predicted probability with observed frequency. Perfect calibration lies near the diagonal.
Metrics such as Brier score measure probability quality:
3. Why uncertainty matters
In medicine, autonomous systems and human-in-the-loop workflows, “I am unsure” can be more useful than an overconfident wrong answer.
But probability output from softmax is not automatically trustworthy uncertainty. Distribution shift can make a model confidently wrong.
4. Recalibration
Methods such as Platt scaling, isotonic regression and temperature scaling can recalibrate predictions using held-out calibration data. That data must be separate from data used to fit the underlying model.
What to Remember
Discrimination asks whether the model ranks cases well; calibration asks whether probability numbers correspond to real frequencies.
Next → Baselines: before celebrating an advanced model, what is the simplest system it must beat?