Calibrate predicted probabilities and read reliability curves

10 steps · about 5 h 45 min · Intermediate

  1. Probability Calibration in Machine Learning: Enhancing Model Usability (article, Train in Data blog, 15 min)

    It starts with what calibration is and why a predicted probability can mislead, before any code.

  2. 1.16. Probability calibration — scikit-learn documentation (doc, scikit-learn, 30 min)

    The official guide defines calibration curves and proper scoring rules, and it is the reference for the tools you'll use.

  3. Probability Calibration curves (interactive, scikit-learn, 25 min)

    This runnable example plots reliability diagrams for logistic regression, naive Bayes and SVC, so you see what miscalibration looks like.

  4. How and When to Use a Calibrated Classification Model with scikit-learn (tutorial, MachineLearningMastery.com, 25 min)

    It adds a hands-on workflow for diagnosing a model with a reliability diagram and then calibrating it.

  5. How to Calibrate Your Classifier's Probabilities in Scikit-learn (tutorial, KDnuggets, 30 min)

    You practise the full loop on a real dataset: reliability diagram, Brier score, then Platt and isotonic fixes.

  6. Predicting Good Probabilities With Supervised Learning (article, Niculescu-Mizil and Caruana, ICML 2005, 45 min)

    This classic paper shows which model families are miscalibrated and when Platt scaling beats isotonic regression.

  7. Measuring Calibration in Deep Learning (article, arXiv, 40 min)

    It covers calibration metrics and the Platt, vector and temperature scaling methods, ready for deep models.

  8. On Calibration of Modern Neural Networks (article, Guo et al., arXiv, 50 min)

    This is the original source on ECE and temperature scaling, and it shows that scaling leaves accuracy unchanged.

  9. Calibration of Neural Networks (article, arXiv, 40 min)

    This survey-style comparison shows typical overconfidence in reliability diagrams and compares methods across several metrics.

  10. Revisiting the Calibration of Modern Neural Networks (article, Minderer et al., NeurIPS 2021, 45 min)

    It finishes with how calibration holds up across model families and under distribution shift.