Data files can be found under https://github.com/hil-se/FairBalance/tree/main/data. Most of the datasets are originally from UCI data repository.
The FairBalance algorithm is implemented in https://github.com/hil-se/FairBalance/blob/main/src/preprocessor.py.
- Install dependencies:
pip install -r requirements.txt
- Navigate to the source code:
cd src
- Run experiments on all eight datasets:
python main.py
- Results are stored in separate csv files under https://github.com/hil-se/FairBalance/tree/main/results.