Leave-One-Out Stable Conformal Prediction

February 14, 2025 ยท View on GitHub

By Kiljae Lee and Yuan Zhang.

This repository provides an implementation of the paper titled "Leave-One-Out Stable Conformal Prediction" accepted at ICLR 2025.

Requirements

  • Python 3.x
  • Libraries: numpy, pandas, cvxpy, scikit-learn, matplotlib, seaborn

Install the required dependencies using:

pip install -r requirements.txt

Running the Experiments

To reproduce the results in Section 4, run:

python simul.py

To reproduce the results in Section 5, run:

python real.py

To reproduce the results in Section 6, please download the dataset from Kaggle:

Factors Affecting Campus Placement

Once downloaded, rename the file to recruit.csv and place it in the folder named 'data' of this repository.

After that, run:

python recruit.py