What is Expected Calibration Error (ECE) in model evaluation?

Updated May 17, 2026

Short answer

ECE measures how well predicted probabilities align with actual outcomes.

Deep explanation

ECE quantifies calibration by grouping predictions into bins and comparing predicted confidence vs observed accuracy. A perfectly calibrated model predicts probabilities that match real-world frequencies. For example, among all predictions with 0.8 confidence, ~80% should be correct. It is widely used in classification models, especially deep learning systems where overconfidence is common.

Unlock with a Pro subscription to view this section.

View pricing

Real-world example

No real-world example available yet.

Unlock with a Pro subscription to view this section.

Upgrade to Pro

Common mistakes

No common mistakes listed yet.

Unlock with a Pro subscription to view this section.

Upgrade to Pro

Follow-up questions

No follow-up questions available yet.

Unlock with a Pro subscription to view this section.

Upgrade to Pro

More Model Evaluation interview questions

View all →