sklearn.calibration.calibration_curve(y_true, y_prob, normalize=False, n_bins=5)
Compute true and predicted probabilities for a calibration curve.
The method assumes the inputs come from a binary classifier.
Calibration curves may also be referred to as reliability diagrams.
Read more in the User Guide.
Alexandru Niculescu-Mizil and Rich Caruana (2005) Predicting Good Probabilities With Supervised Learning, in Proceedings of the 22nd International Conference on Machine Learning (ICML). See section 4 (Qualitative Analysis of Predictions).
© 2007–2018 The scikit-learn developers
Licensed under the 3-clause BSD License.