← All 44 Terms
3. Post-Training, Evals & Calibration
Read in Ch. 6: Evals, Calibration & Alignment →
ECE (Expected Calibration Error)
In One Sentence
A summary metric measuring the weighted average gap between a model's predicted confidence and actual accuracy across probability bins.
ELI5 (Intuition)
A report-card grade for how honest a model's confidence percentages are—
0% ECE means its odds match reality.ELI18 (Technical)
Partitions predictions into \(M\) confidence bins \(B_m\) and computes \[\text{ECE} = \sum_{m=1}^M \frac{|B_m|}{n}\,\big|\operatorname{acc}(B_m) - \operatorname{conf}(B_m)\big|.\]
In Practice
Tracked alongside accuracy and F1 on reliability diagrams before deploying classifiers or LLM-as-a-judge confidence scores into production.