To reproduce the analyses in our paper:
- Make sure you have
Rversion 4.3.1 and thegroundhogpackage installed. - Create and activate a python3 virtual environment in the root of the repository as follows:
$ python3 -m venv venv
$ source venv/bin/activate
(venv) $ pip3 install -r requirements.txt- Ensure you have
makeinstalled and run the following command from the root directory:
make plotsThis will perform all of the analyses in the paper and regenerate the plots in
the figures directory. The analysis takes around 3 hours on a single M1 core,
~80% of which is generating the counterfactual predictive parity geometry of
fairness plot.