Here we provide an implementation of EPICSCORE and notebooks to reproduce the figures and tables from the paper Epistemic Uncertainty in Conformal Scores: A Unified Approach (check paper here).
We demonstrate how to use our method on regression and quantile regression base models in two demo notebooks.
To install the necessary dependencies and the EPICSCORE package, follow these steps:
-
Navigate to the directory containing the
setup.pyfile. -
Activate conda in the terminal
source activate -
Install the local conda environment with all dependencies by running the following command:
conda env create -f EPICSCORE_env.yml
-
Activate the conda environment:
conda activate EPICSCORE_env
-
Install the EPICSCORE package:
pip install .
Alternatively, if you use Poetry, follow these steps:
-
Navigate to the directory containing the
setup.pyfile. -
Initialize a new Poetry environment:
poetry init
-
Add the required dependencies to the Poetry environment:
xargs poetry add < requirements.txt
To download and process all required data, execute the following command:
bash data/data_scripts/download_data.shTo run all experiments for quantile regression, use the command:
python Experiments_code/metrics_real_data.py