Expand description
Calibration (reliability) binning for probabilistic classifiers.
Structs§
- Calibration
Bin - One reliability-diagram bin: the mean predicted probability, the observed positive frequency, and how many samples fell in the bin.
Functions§
- calibration_
curve - Bin predicted probabilities into
n_binsequal-width bins over[0, 1]and compute the observed positive frequency in each. Empty bins are omitted. A perfectly calibrated model has every point on they = xdiagonal.