All labs

Calibration Is Not Discrimination

Distort a model's probabilities without touching its ranking: AUC does not move a decimal place while every probability becomes wrong.

Ch 9 9.5
Misconception
Validation & Feature Selection
18 mindifficulty 3/5

Controls

Signal

1.400

Controls discrimination — and only discrimination.

Distortion (rank-preserving)

2.400

a > 1 makes the model overconfident; a < 1 underconfident.

0.600

A systematic bias in reported risk.

10
2000
Random seed

Every result on this page is a deterministic function of the seed and the controls.

Reliability diagram

Observed event rate against reported probability. Point size is bin count.

00.200.400.600.80100.200.400.600.801bin [0, 0.10] n=410 observed=0.159bin [0.10, 0.20] n=162 observed=0.265bin [0.20, 0.30] n=111 observed=0.297bin [0.30, 0.40] n=88 observed=0.352bin [0.40, 0.50] n=95 observed=0.368bin [0.50, 0.60] n=85 observed=0.494bin [0.60, 0.70] n=123 observed=0.504bin [0.70, 0.80] n=132 observed=0.568bin [0.80, 0.90] n=183 observed=0.590bin [0.90, 1] n=611 observed=0.810reported probabilityobserved frequency
Reported modelTrue probabilitiesPerfect calibration

Reported versus true probability

A monotone curve: the ranking is identical, the numbers are not.

00.200.400.600.80100.200.400.600.801true probabilityreported probability
AUC (reported)
0.7963
true model 0.7963 — identical
Expected calibration error
0.1384
true model 0.0092
Brier score
0.2080
true model 0.1842 — lower is better
Log loss
0.6893
true model 0.5468
Mean reported risk
55.72%
Observed event rate
49.45%
calibration-in-the-large compares these two