A scikit-learn-compatible library for estimating prediction intervals and controlling risks, based on conformal predictions.
See the code
An open-source Python library for quantifying uncertainties and controlling the risks of machine learning models.
🚀 MAPIE in 2026 🚀 New features have been implemented, starting with the application of risk control to emerging use cases such as LLM-as-Judge and image segmentation. In addition, exchangeability tests have been introduced to help users verify when MAPIE can be legitimately applied. Also, new adaptive conformal prediction methods have been added. Finally, the documentation has been updated with a new design!
🎉 MAPIE in 2025 🎉 MAPIE v1 is live! This new version introduces major changes to the API. Check out the release notes.
See GitHub Releases and HISTORY.md for up-to-date details on the new features.
Image credits: Cemrecan Yurtman (portrait) and hogrmahmood (zebra-horse hybrid).
MAPIE allows you to:
MAPIE relies notably on the fields of Conformal Prediction and Distribution-Free Inference. It implements peer-reviewed algorithms that are model and use case agnostic and possesses theoretical guarantees under minimal assumptions on the data and the model.
MAPIE runs on:
MAPIE can be installed in different ways:
$ pip install mapie # installation via `pip`
$ conda install -c conda-forge mapie # or via `conda`
$ pip install git+https://github.com/scikit-learn-contrib/MAPIE # or directly from the github repository
Below are two simple examples from our documentation that show how MAPIE is used in a regression setting and a classification setting:
You are welcome to propose and contribute new ideas. We encourage you to open an issue so that we can align on the work to be done. It is generally a good idea to have a quick discussion before opening a pull request that is potentially out-of-scope. For more information on the contribution process, read our contribution guidelines.
MAPIE is free and open-source software licensed under the BSD-3-Clause license.
If you use MAPIE in your research, please cite the main paper:
Cordier, Thibault, et al. "Flexible and systematic uncertainty estimation with conformal prediction via the MAPIE library." Conformal and Probabilistic Prediction with Applications. PMLR, 2023.
@inproceedings{Cordier_Flexible_and_Systematic_2023,
author = {Cordier, Thibault and Blot, Vincent and Lacombe, Louis and Morzadec, Thomas and Capitaine, Arnaud and Brunel, Nicolas},
booktitle = {Conformal and Probabilistic Prediction with Applications},
title = {{Flexible and Systematic Uncertainty Estimation with Conformal Prediction via the MAPIE library}},
year = {2023}
}
You can also cite the ICML workshop manuscript:
Taquet, Vianney, et al. "MAPIE: an open-source library for distribution-free uncertainty quantification." arXiv preprint arXiv:2207.12274 (2022).
@article{taquet2022mapie,
title = {MAPIE: an open-source library for distribution-free uncertainty quantification},
author = {Taquet, Vianney and Blot, Vincent and Morzadec, Thomas and Lacombe, Louis and Brunel, Nicolas},
journal = {arXiv preprint arXiv:2207.12274},
year = {2022}
}
MAPIE has been developed through a collaboration between Capgemini Invent, Quantmetry, Michelin, ENS Paris-Saclay, and with the financial support from Région Île-de-France and Confiance.ai.
Overall
Maintained
Code review
PyPI
Latest release
Releases this year
644 followers · starred Jul 2021
5,019 followers · starred Jun 2025
14 followers · starred Sep 2022
87 followers · starred Feb 2026
A scikit-learn-compatible library for estimating prediction intervals and controlling risks, based on conformal predictions.
See the code
An open-source Python library for quantifying uncertainties and controlling the risks of machine learning models.
🚀 MAPIE in 2026 🚀 New features have been implemented, starting with the application of risk control to emerging use cases such as LLM-as-Judge and image segmentation. In addition, exchangeability tests have been introduced to help users verify when MAPIE can be legitimately applied. Also, new adaptive conformal prediction methods have been added. Finally, the documentation has been updated with a new design!
🎉 MAPIE in 2025 🎉 MAPIE v1 is live! This new version introduces major changes to the API. Check out the release notes.
See GitHub Releases and HISTORY.md for up-to-date details on the new features.
Image credits: Cemrecan Yurtman (portrait) and hogrmahmood (zebra-horse hybrid).
MAPIE allows you to:
MAPIE relies notably on the fields of Conformal Prediction and Distribution-Free Inference. It implements peer-reviewed algorithms that are model and use case agnostic and possesses theoretical guarantees under minimal assumptions on the data and the model.
MAPIE runs on:
MAPIE can be installed in different ways:
$ pip install mapie # installation via `pip`
$ conda install -c conda-forge mapie # or via `conda`
$ pip install git+https://github.com/scikit-learn-contrib/MAPIE # or directly from the github repository
Below are two simple examples from our documentation that show how MAPIE is used in a regression setting and a classification setting:
You are welcome to propose and contribute new ideas. We encourage you to open an issue so that we can align on the work to be done. It is generally a good idea to have a quick discussion before opening a pull request that is potentially out-of-scope. For more information on the contribution process, read our contribution guidelines.
MAPIE is free and open-source software licensed under the BSD-3-Clause license.
If you use MAPIE in your research, please cite the main paper:
Cordier, Thibault, et al. "Flexible and systematic uncertainty estimation with conformal prediction via the MAPIE library." Conformal and Probabilistic Prediction with Applications. PMLR, 2023.
@inproceedings{Cordier_Flexible_and_Systematic_2023,
author = {Cordier, Thibault and Blot, Vincent and Lacombe, Louis and Morzadec, Thomas and Capitaine, Arnaud and Brunel, Nicolas},
booktitle = {Conformal and Probabilistic Prediction with Applications},
title = {{Flexible and Systematic Uncertainty Estimation with Conformal Prediction via the MAPIE library}},
year = {2023}
}
You can also cite the ICML workshop manuscript:
Taquet, Vianney, et al. "MAPIE: an open-source library for distribution-free uncertainty quantification." arXiv preprint arXiv:2207.12274 (2022).
@article{taquet2022mapie,
title = {MAPIE: an open-source library for distribution-free uncertainty quantification},
author = {Taquet, Vianney and Blot, Vincent and Morzadec, Thomas and Lacombe, Louis and Brunel, Nicolas},
journal = {arXiv preprint arXiv:2207.12274},
year = {2022}
}
MAPIE has been developed through a collaboration between Capgemini Invent, Quantmetry, Michelin, ENS Paris-Saclay, and with the financial support from Région Île-de-France and Confiance.ai.
Overall
Maintained
Code review
PyPI
Latest release
Releases this year
644 followers · starred Jul 2021
5,019 followers · starred Jun 2025
14 followers · starred Sep 2022
87 followers · starred Feb 2026