Probability Calibration and Reliability Curves
Compare mean forecast probability with observed frequency in a held-out bin and account for sample size and distribution change.
- Source
- Anbloq
- Language
- English
- Created
- Updated
- Chapters
- 2
- Reading time
- 1 min
In this article2 chapters
Calibration compares probabilities to outcomes on a population
If a model estimates probability near \(0.8\) for a group of examples, a calibrated forecast has positive frequency near \(0.8\) there. A reliability diagram can group predictions into bins and plot mean prediction against observed proportion. A small bin may deviate by chance. Fixed-width binning also hides variation within its boundaries, so report counts along with each comparison.
Post-processing can change confidence while preserving order
Dividing logits by a positive temperature changes probabilities without changing which logit is largest for each sample. Fit and evaluate such a transformation on appropriately separate data. Transporting it to a changed population can require new measurement. Log loss scores full probabilities. ROC and precision–recall assess ranking and threshold behavior from another perspective.[1][2]