Skip to content
Quantoros

What do the two coordinates of a bin in a reliability diagram represent?

Classic MLLevel: IntermediateReliability diagram axes

What do the two coordinates of a bin in a reliability diagram represent?

Hints
  • Aggregate predictions and labels separately.
  • Bin support qualifies the visual gap.

Answer

The x-coordinate is the mean predicted probability within the bin; y is its fraction of positive outcomes. Include bin counts because identical deviations can have very different uncertainty.

Source and licence: scikit-learn 1.7.2 — calibration · BSD-3-Clause · answer: Quantoros editorial

Related questions