Inductive Conformal Prediction: A Straightforward Introduction with Examples in Python

Martim Sousa
6/23/2022
stat.MLcs.LG

Official code: Quilograma/ConformalPredictionTutorial (43 stars, Jupyter Notebook, last commit 2022-09-13).

Abstract

Inductive Conformal Prediction (ICP) is a set of distribution-free and model agnostic algorithms devised to predict with a user-defined confidence with coverage guarantee. Instead of having point predictions, i.e., a real number in the case of regression or a single class in multi class classification, models calibrated using ICP output an interval or a set of classes, respectively.

Show full abstract

ICP takes special importance in high-risk settings where we want the true output to belong to the prediction set with high probability. As an example, a classification model might output that given a magnetic resonance image a patient has no latent diseases to report. However, this model output was based on the most likely class, the second most likely class might tell that the patient has a 15% chance of brain tumor or other severe disease and therefore further exams should be conducted. Using ICP is therefore way more informative and we believe that should be the standard way of producing forecasts. This paper is a hands-on introduction, this means that we will provide examples as we introduce the theory.

View on arXivView PDF

Code Implementations(1)

439Jupyter NotebookJun 10, 20224 years ago

Similar Papers

Cite this paper

@article{sousa2022inductive,
  title  = {Inductive Conformal Prediction: A Straightforward Introduction with Examples in Python},
  author = {Martim Sousa},
  year   = {2022},
  eprint = {2206.11810},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2206.11810}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2206.11810.svg)](https://codeofpaper.com/paper/2206.11810)

Discussion