A framework which assesses the effectiveness of fairness-enhancing interventions.
sandbox.ipynb
: main file to run the sandbox's functionalities
Our sandbox offers the following pipeline:
- Upload Dataset
- Choose existing dataset (e.g. Adult Income)
- Generate Synthetic Dataset
- Train any ml model of choice
Select one (or more) bias(es) to inject into the data from the following list:
- Representation Bias (under-sampling subsets of the data)
- Measurement Bias (adding noise)
- Omitted Variable Bias
- Label Noise Bias
- Over-Sampling Bias
- Under-Sampling Bias
Select one of the following interventions:
- Correlation Remover (Pre-Processing)
- Exponentiated Gradient (In-Processing)
- Grid Search (In-Processing)
- Threshold Optimizer (Post-Processing)
After selecting a metric of your choice (e.g. accuracy, precision, roc_auc, etc), we output a plot which displays the effectiveness of the fairness intervention's ability to mitigate the bias you injected, with respect to the ground truth data.
This project is licensed under the [MIT] License - see the LICENSE.md file for details