MIT License

项目介绍

aangelopoulos/conformal-prediction 是一个托管在 GitHub 上的开源项目,主要使用 Jupyter Notebook 编写,采用 MIT License 许可证,目前获得 1.1k 个 Star、128 次 Fork。

仓库全名
aangelopoulos/conformal-prediction
开源许可证
MIT License
Star 数
1.1k
Fork 数
128
未关闭 Issue
7

README 摘要

Conformal Prediction rigorous uncertainty quantification for any machine learning task This repository is the easiest way to start using conformal prediction (a.k.a. conformal inference) on real data. Each of the notebooks applies conformal prediction to a real prediction problem with a state-of-the-art machine learning model. No need to download the model or data in order to run conformal Raw model outputs for…

完整内容见 GitHub 原始 README 或本页 。

常见问题

conformal-prediction 用什么语言开发?

主要使用 Jupyter Notebook 编写,采用 MIT License 许可证,目前有 1.1k 个 Star。

conformal-prediction 可以免费商用吗?

仓库采用 MIT License 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 conformal-prediction 的源码?

可以直接克隆仓库:git clone https://github.com/aangelopoulos/conformal-prediction.git,默认分支为 main;安装与运行步骤见仓库 README。

conformal-prediction 最近还在维护吗?

仓库最近一次更新为 2025年11月14日,当前有 7 个未关闭 Issue;Star 数为 1.1k,可作为社区活跃度的参考。

关于

GitHub 原始描述(英文)

Lightweight, useful implementation of conformal prediction on real data.

描述取自 GitHub 官方 API,保持仓库作者书写的原文。

语言占比

Jupyter Notebook
MATLAB
Python

README

Conformal Prediction

rigorous uncertainty quantification for any machine learning task

This repository is the easiest way to start using conformal prediction (a.k.a. conformal inference) on real data. Each of the notebooks applies conformal prediction to a real prediction problem with a state-of-the-art machine learning model.

No need to download the model or data in order to run conformal

Raw model outputs for several large-scale real-world datasets and a small amount of sample data from each dataset are downloaded automatically by the notebooks. You can develop and test conformal prediction methods entirely in this sandbox, without ever needing to run the original model or download the original data. Open a notebook to see the expected output. You can use these notebooks to experiment with existing methods or as templates to develop your own.

Example notebooks

Notebooks can be run immediately using the provided Google Colab links

Colab links are in the top cell of each notebook

To run these notebooks locally, you just need to have the correct dependencies installed and press run all cells! The notebooks will automatically download all required data and model outputs. You will need 1.5GB of space on your computer in order for the notebook to store the auto-downloaded data. If you want to see how we generated the precomputed model outputs and data subsamples, see the files in generation-scripts. There is one for each dataset. To create a conda environment with the correct dependencies, run conda env create -f environment.yml. If you still get a dependency error, make sure to activate the conformal environment within the Jupyter notebook.

Citation

This repository is meant to accompany our paper, the Gentle Introduction to Conformal Prediction and Distribution-Free Uncertainty Quantification. In that paper is a detailed explanation of each example and attributions. If you find this repository useful, in addition to the relevant methods and datasets, please cite:

@article{angelopoulos2021gentle,
  title={A gentle introduction to conformal prediction and distribution-free uncertainty quantification},
  author={Angelopoulos, Anastasios N and Bates, Stephen},
  journal={arXiv preprint arXiv:2107.07511},
  year={2021}
}

Videos

If you're interested in learning about conformal prediction in video form, watch our videos below!
A Tutorial on Conformal Prediction

A Tutorial on Conformal Prediction Part 2: Conditional Coverage

A Tutorial on Conformal Prediction Part 3: Beyond Conformal Prediction

评论

暂无评论