# ResCP experiments

## How to run the code

### 1. Create a conda environment

```bash
conda env create -f environment.yaml
conda activate rescp_env
```

### 2. Edit the script `run_rexcp_qr.sh` and `run_rexcp_sampling.sh` to set the correct paths to the pre-trained models
Replace `/path/to/logs/...` with the actual paths where the pre-trained models are stored.

### 3. Run the scripts

```bash
cd reservoir-conformal-prediction
./run_rexcp_qr.sh
```

and

```bash
cd reservoir-conformal-prediction
./run_rexcp_sampling.sh
```