Skip to main content

Reliably Calibrated Isotonic Regression

  • Conference paper
  • First Online:
Advances in Knowledge Discovery and Data Mining (PAKDD 2021)

Abstract

Using classifiers for decision making requires well-calibrated probabilities for estimation of expected utility. Furthermore, knowledge of the reliability is needed to quantify uncertainty. Outputs of most classifiers can be calibrated, typically by using isotonic regression that bins classifier outputs together to form empirical probability estimates. However, especially for highly imbalanced problems it produces bins with few samples resulting in probability estimates with very large uncertainty. We provide a formal method for quantifying the reliability of calibration and extend isotonic regression to provide reliable calibration with guarantees for width of credible intervals of the probability estimates. We demonstrate the method in calibrating purchase probabilities in e-commerce and achieve significant reduction in uncertainty without compromising accuracy.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 84.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    A Python implementation of the algorithm and the data used in the experiments are available at https://github.com/Trinli/calibration.

References

  1. Ayer, M., Brunk, H.D., Ewing, G.M., Reid, W.T., Silverman, E.: An empirical distribution function for sampling with incomplete information. Ann. Math. Stat. 26(4), 641–647 (1955)

    Article  MathSciNet  Google Scholar 

  2. de Bruijne, M.: Machine learning approaches in medical image analysis: from detection to diagnosis. Med. Image Anal. 33(5) (2016)

    Google Scholar 

  3. Diemert, E., Betlei, A., Renaudin, C., Massih-Reza, A.: A large scale benchmark for uplift modeling. In: Proceedings of the AdKDD and TargetAd Workshop, KDD (2018)

    Google Scholar 

  4. Fawcett, T., Niculescu-Mizil, A.: PAV and the ROC convex hull. Mach. Learn. 68(1), 97–106 (2007)

    Article  Google Scholar 

  5. Gelman, A., Carlin, J., Stern, H.S., Rubin, D.B.: Bayesian Data Analysis. Chapman & Hall (2004)

    Google Scholar 

  6. Guo, C., Pleiss, G., Sun, Y., Weinberger, K.Q.: On calibration of modern neural networks. In: Proceedings of the 34th International Conference on Machine Learning, Sydney (2017)

    Google Scholar 

  7. Kumar, A., Liang, P., Ma, T.: Verified uncertainty calibration. In: Advances in Neural Information Processing. No. NeurIPS (2019)

    Google Scholar 

  8. Louzada, F., Ara, A., Fernandes, G.B.: Classification methods applied to credit scoring: systematic review and overall comparison. Surv. Oper. Res. Manag. Sci. 21(2), 117–134 (2016)

    MathSciNet  Google Scholar 

  9. McMahan, H.B., et al.: Ad click prediction: a view from the trenches. In: Proceedings of the 19th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, pp. 1222–1230 (2013)

    Google Scholar 

  10. Murphy, A.H., Winkler, R.L.: Reliability of subjective probability forecasts of precipitation and temperature. Source J. Royal Stat. Soc. Series C (Appl. Stat.) 26(1), 41–47 (1977)

    Google Scholar 

  11. Murphy, K.: Machine Learning: A Probabilistic Perspective. The MIT Press, Cambridge (2011)

    MATH  Google Scholar 

  12. Naeini, M.P., Cooper, G.F.: Binary classifier calibration using an ensemble of near isotonic regression models. In: 2016 IEEE 16th International Conference on Data Mining, pp. 360–369 (2016)

    Google Scholar 

  13. Naeini, M.P., Cooper, G.F., Hauskrecht, M.: Obtaining well calibrated probabilities using Bayesian binning. In: Proceedings of the 29th AAAI Conference on Artificial Intelligence, pp. 2901–2907 (2015)

    Google Scholar 

  14. Niculescu-Mizil, A., Caruana, R.: Obtaining calibrated probabilities from boosting. In: Proceedings of Uncertainty in Artificial Intelligence, pp. 413–420 (2005)

    Google Scholar 

  15. Niculescu-Mizil, A., Caruana, R.: Predicting good probabilities with supervised learning. In: Proceedings of the 22nd International Conference on Machine Learning, ICML 2005, pp. 625–632. No. 1999 (2005)

    Google Scholar 

  16. Platt, J.: Probabilistic outputs for support vector machines and comparisons to regularized likelihood methods. Adv. Large Margin Classif. 10(3), 61–74 (1999)

    Google Scholar 

  17. Provost, F., Fawcett, T.: Robust classification for imprecise environments. Mach. Learn. 42, 203–231 (2001)

    Article  Google Scholar 

  18. Rubinstein, M.: Markowitz’s “portfolio selection”: a fifty-year retrospective. J. Financ. 57(3), 1041–1045 (2002)

    Article  Google Scholar 

  19. Shmueli-Scheuer, M., Roitman, H., Carmel, D., Mass, Y., Konopnicki, D.: Extracting user profiles from large scale data. In: Proceedings of the 2010 Workshop on Massive Data Analytics on the Cloud, pp. 1–6 (2010)

    Google Scholar 

  20. Van Calster, B., et al.: Calibration: the Achilles heel of predictive analytics. BMC Med. 17(1), 1–7 (2019)

    Google Scholar 

  21. Zadrozny, B., Elkan, C.: Obtaining calibrated probability estimates from decision trees and Naive Bayesian classifiers. In: Proceedings of International Conference on Machine Learning, pp. 1–8 (2001)

    Google Scholar 

  22. Zadrozny, B., Elkan, C.: Transforming classifier scores into accurate multiclass probability estimates. In: Proceedings of the eighth ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, pp. 694–699 (2002)

    Google Scholar 

Download references

Acknowledgement

This work was supported by the Academy of Finland (Flagship programme: Finnish Center for Artificial Intelligence, FCAI).

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Otto Nyberg .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2021 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Nyberg, O., Klami, A. (2021). Reliably Calibrated Isotonic Regression. In: Karlapalem, K., et al. Advances in Knowledge Discovery and Data Mining. PAKDD 2021. Lecture Notes in Computer Science(), vol 12712. Springer, Cham. https://doi.org/10.1007/978-3-030-75762-5_46

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-75762-5_46

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-75761-8

  • Online ISBN: 978-3-030-75762-5

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics