A classifier that says “0.92” is making two claims at once: that the case probably belongs to the positive class, and that among all cases to which it gives 0.92, about 92 percent are positive.
The first claim is about ranking and accuracy. The second is about calibration, and it is the one that downstream decisions use. A triage system sends a patient to an extra test when the predicted risk exceeds a threshold. A lender prices a loan from a default probability. A planner stocks inventory from a demand forecast. In each case the number is multiplied by a cost, and if the number is wrong the decision is wrong, even when the ranking of cases is perfect.
Modern models often fail this second claim. Guo et al. (2017) showed that deep networks trained with cross-entropy are routinely overconfident. In their benchmark experiments, Niculescu-Mizil and Caruana (2005) observed that naive Bayes tended toward extreme probabilities, while boosted trees and support vector machines tended away from the extremes. Random forests were among their better calibrated models before post-processing. Listings 1.8 and 1.9 illustrate how calibration varies across models and datasets.
this article has four aims. First, it states precisely what a good probabilistic forecast is, through proper scoring rules, and proves the properties we need. Second, it separates the three things that a score mixes together: calibration (reliability), discrimination (resolution) and the intrinsic difficulty of the problem (uncertainty). Third, it develops the standard post-hoc repairs and shows when each works and when each overfits. Fourth, it connects calibration to decisions, because that is the reason to care. Every claim about error is checked on simulators in which the true probabilities are known, so that errors can be measured exactly rather than estimated from the same noisy labels they are meant to explain.
Continue with the book
Explore the full treatment, worked examples, and exercises in Applied AI Under Uncertainty.
Companion article for Applied AI Under Uncertainty, published by Choral Software. Article text and original examples © 2026 Choral Software. All rights reserved.
