Skip to content

alan-turing-institute/CPICF

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Conformal Prediction Interval Counterfactuals

Python 3.10 License

This repository provides a demonstration of Conformal Prediction Interval Counterfactuals (CPICFs) -- a way of generating counterfactual examples for tabular data chosen to be informative to the recpient by choosing those with a large conformal prediction interval. It accompanies the submission of the 2025 COPA conference paper "Individualised Counterfactual Examples Using Conformal Prediction Intervals".

Conformal Counterfactual Generation Demo

Open In Github Open In Colab

Installation Instructions

For running the jupyter notebook locally:

  1. Create a virtual environment for your operating system python3.10 -m venv env
  2. Install requirements for notebook
pip install -r requirements.txt

and set up ipykernel

python3 -m pip install ipykernel
python3 -m ipykernel install --user --name CPICF
  1. Open the jupyter notebook and select the CPICF kernel

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published