├── .gitignore ├── .travis.yml ├── LICENSE ├── README.md ├── datasets ├── preprocessed │ └── .gitkeep └── raw │ ├── Adult_synthetic_data.csv │ ├── adult.csv │ ├── astronauts.csv │ ├── australian.csv │ ├── australian.dat │ ├── german.csv │ ├── givemesomecredit.csv │ ├── propublica-recidivism.csv │ ├── propublica-violent-recidivism.txt │ └── ricci.txt ├── examples ├── accuracy_vs_di.png ├── accuracy_vs_fnr.png ├── accuracy_vs_fpr.png ├── fair_prep_results.py ├── helper.py ├── missing_data_results.py ├── results_play.ipynb ├── skyline_plots │ ├── Formula_s3735931646_accuracy_false_discovery_rate.png │ ├── Formula_s3735931646_accuracy_selection_rate.png │ ├── Formula_s3735931646_selection_rate_false_discovery_rate.png │ ├── Formula_s48879_accuracy_false_discovery_rate.png │ ├── Formula_s48879_accuracy_selection_rate.png │ ├── Formula_s48879_selection_rate_false_discovery_rate.png │ ├── Formula_s51966_accuracy_false_discovery_rate.png │ ├── Formula_s51966_accuracy_selection_rate.png │ ├── Formula_s51966_selection_rate_false_discovery_rate.png │ ├── Formula_s57005_accuracy_false_discovery_rate.png │ ├── Formula_s57005_accuracy_selection_rate.png │ ├── Formula_s57005_selection_rate_false_discovery_rate.png │ ├── Order_s3735931646_accuracy_false_discovery_rate.png │ ├── Order_s3735931646_accuracy_selection_rate.png │ ├── Order_s3735931646_selection_rate_false_discovery_rate.png │ ├── Order_s48879_accuracy_false_discovery_rate.png │ ├── Order_s48879_accuracy_selection_rate.png │ ├── Order_s48879_selection_rate_false_discovery_rate.png │ ├── Order_s51966_accuracy_false_discovery_rate.png │ ├── Order_s51966_accuracy_selection_rate.png │ ├── Order_s51966_selection_rate_false_discovery_rate.png │ ├── Order_s57005_accuracy_false_discovery_rate.png │ ├── Order_s57005_accuracy_selection_rate.png │ └── Order_s57005_selection_rate_false_discovery_rate.png ├── skyline_results_play.ipynb └── skyline_selection_results.py ├── fp ├── __init__.py ├── dataset_experiments.py ├── experiments.py ├── fixed │ ├── __init__.py │ ├── eq_odds_postprocessing.py │ └── reject_option_classification.py ├── learners.py ├── missingvalue_handlers.py ├── post_processors.py ├── pre_processors.py ├── scalers.py ├── tests │ ├── resource │ │ └── input │ │ │ ├── data.csv │ │ │ ├── data_annotated.obj │ │ │ ├── data_missing.csv │ │ │ ├── data_test_with_predictions.obj │ │ │ ├── data_validation.obj │ │ │ └── data_validation_with_predictions.obj │ ├── test_datasets.py │ ├── test_experiments.py │ ├── test_learners.py │ ├── test_missingvalue_handlers.py │ ├── test_post_processors.py │ ├── test_pre_check.py │ ├── test_pre_processors.py │ ├── test_scalers.py │ └── test_traindata_samplers.py └── traindata_samplers.py ├── requirements.txt └── setup.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataResponsibly/FairPrep/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataResponsibly/FairPrep/HEAD/.travis.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataResponsibly/FairPrep/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataResponsibly/FairPrep/HEAD/README.md -------------------------------------------------------------------------------- /datasets/preprocessed/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /datasets/raw/Adult_synthetic_data.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataResponsibly/FairPrep/HEAD/datasets/raw/Adult_synthetic_data.csv -------------------------------------------------------------------------------- /datasets/raw/adult.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataResponsibly/FairPrep/HEAD/datasets/raw/adult.csv -------------------------------------------------------------------------------- /datasets/raw/astronauts.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataResponsibly/FairPrep/HEAD/datasets/raw/astronauts.csv -------------------------------------------------------------------------------- /datasets/raw/australian.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataResponsibly/FairPrep/HEAD/datasets/raw/australian.csv -------------------------------------------------------------------------------- /datasets/raw/australian.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataResponsibly/FairPrep/HEAD/datasets/raw/australian.dat -------------------------------------------------------------------------------- /datasets/raw/german.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataResponsibly/FairPrep/HEAD/datasets/raw/german.csv -------------------------------------------------------------------------------- /datasets/raw/givemesomecredit.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataResponsibly/FairPrep/HEAD/datasets/raw/givemesomecredit.csv -------------------------------------------------------------------------------- /datasets/raw/propublica-recidivism.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataResponsibly/FairPrep/HEAD/datasets/raw/propublica-recidivism.csv -------------------------------------------------------------------------------- /datasets/raw/propublica-violent-recidivism.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataResponsibly/FairPrep/HEAD/datasets/raw/propublica-violent-recidivism.txt -------------------------------------------------------------------------------- /datasets/raw/ricci.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataResponsibly/FairPrep/HEAD/datasets/raw/ricci.txt -------------------------------------------------------------------------------- /examples/accuracy_vs_di.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataResponsibly/FairPrep/HEAD/examples/accuracy_vs_di.png -------------------------------------------------------------------------------- /examples/accuracy_vs_fnr.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataResponsibly/FairPrep/HEAD/examples/accuracy_vs_fnr.png -------------------------------------------------------------------------------- /examples/accuracy_vs_fpr.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataResponsibly/FairPrep/HEAD/examples/accuracy_vs_fpr.png -------------------------------------------------------------------------------- /examples/fair_prep_results.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataResponsibly/FairPrep/HEAD/examples/fair_prep_results.py -------------------------------------------------------------------------------- /examples/helper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataResponsibly/FairPrep/HEAD/examples/helper.py -------------------------------------------------------------------------------- /examples/missing_data_results.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataResponsibly/FairPrep/HEAD/examples/missing_data_results.py -------------------------------------------------------------------------------- /examples/results_play.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataResponsibly/FairPrep/HEAD/examples/results_play.ipynb -------------------------------------------------------------------------------- /examples/skyline_plots/Formula_s3735931646_accuracy_false_discovery_rate.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataResponsibly/FairPrep/HEAD/examples/skyline_plots/Formula_s3735931646_accuracy_false_discovery_rate.png -------------------------------------------------------------------------------- /examples/skyline_plots/Formula_s3735931646_accuracy_selection_rate.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataResponsibly/FairPrep/HEAD/examples/skyline_plots/Formula_s3735931646_accuracy_selection_rate.png -------------------------------------------------------------------------------- /examples/skyline_plots/Formula_s3735931646_selection_rate_false_discovery_rate.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataResponsibly/FairPrep/HEAD/examples/skyline_plots/Formula_s3735931646_selection_rate_false_discovery_rate.png -------------------------------------------------------------------------------- /examples/skyline_plots/Formula_s48879_accuracy_false_discovery_rate.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataResponsibly/FairPrep/HEAD/examples/skyline_plots/Formula_s48879_accuracy_false_discovery_rate.png -------------------------------------------------------------------------------- /examples/skyline_plots/Formula_s48879_accuracy_selection_rate.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataResponsibly/FairPrep/HEAD/examples/skyline_plots/Formula_s48879_accuracy_selection_rate.png -------------------------------------------------------------------------------- /examples/skyline_plots/Formula_s48879_selection_rate_false_discovery_rate.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataResponsibly/FairPrep/HEAD/examples/skyline_plots/Formula_s48879_selection_rate_false_discovery_rate.png -------------------------------------------------------------------------------- /examples/skyline_plots/Formula_s51966_accuracy_false_discovery_rate.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataResponsibly/FairPrep/HEAD/examples/skyline_plots/Formula_s51966_accuracy_false_discovery_rate.png -------------------------------------------------------------------------------- /examples/skyline_plots/Formula_s51966_accuracy_selection_rate.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataResponsibly/FairPrep/HEAD/examples/skyline_plots/Formula_s51966_accuracy_selection_rate.png -------------------------------------------------------------------------------- /examples/skyline_plots/Formula_s51966_selection_rate_false_discovery_rate.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataResponsibly/FairPrep/HEAD/examples/skyline_plots/Formula_s51966_selection_rate_false_discovery_rate.png -------------------------------------------------------------------------------- /examples/skyline_plots/Formula_s57005_accuracy_false_discovery_rate.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataResponsibly/FairPrep/HEAD/examples/skyline_plots/Formula_s57005_accuracy_false_discovery_rate.png -------------------------------------------------------------------------------- /examples/skyline_plots/Formula_s57005_accuracy_selection_rate.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataResponsibly/FairPrep/HEAD/examples/skyline_plots/Formula_s57005_accuracy_selection_rate.png -------------------------------------------------------------------------------- /examples/skyline_plots/Formula_s57005_selection_rate_false_discovery_rate.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataResponsibly/FairPrep/HEAD/examples/skyline_plots/Formula_s57005_selection_rate_false_discovery_rate.png -------------------------------------------------------------------------------- /examples/skyline_plots/Order_s3735931646_accuracy_false_discovery_rate.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataResponsibly/FairPrep/HEAD/examples/skyline_plots/Order_s3735931646_accuracy_false_discovery_rate.png -------------------------------------------------------------------------------- /examples/skyline_plots/Order_s3735931646_accuracy_selection_rate.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataResponsibly/FairPrep/HEAD/examples/skyline_plots/Order_s3735931646_accuracy_selection_rate.png -------------------------------------------------------------------------------- /examples/skyline_plots/Order_s3735931646_selection_rate_false_discovery_rate.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataResponsibly/FairPrep/HEAD/examples/skyline_plots/Order_s3735931646_selection_rate_false_discovery_rate.png -------------------------------------------------------------------------------- /examples/skyline_plots/Order_s48879_accuracy_false_discovery_rate.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataResponsibly/FairPrep/HEAD/examples/skyline_plots/Order_s48879_accuracy_false_discovery_rate.png -------------------------------------------------------------------------------- /examples/skyline_plots/Order_s48879_accuracy_selection_rate.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataResponsibly/FairPrep/HEAD/examples/skyline_plots/Order_s48879_accuracy_selection_rate.png -------------------------------------------------------------------------------- /examples/skyline_plots/Order_s48879_selection_rate_false_discovery_rate.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataResponsibly/FairPrep/HEAD/examples/skyline_plots/Order_s48879_selection_rate_false_discovery_rate.png -------------------------------------------------------------------------------- /examples/skyline_plots/Order_s51966_accuracy_false_discovery_rate.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataResponsibly/FairPrep/HEAD/examples/skyline_plots/Order_s51966_accuracy_false_discovery_rate.png -------------------------------------------------------------------------------- /examples/skyline_plots/Order_s51966_accuracy_selection_rate.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataResponsibly/FairPrep/HEAD/examples/skyline_plots/Order_s51966_accuracy_selection_rate.png -------------------------------------------------------------------------------- /examples/skyline_plots/Order_s51966_selection_rate_false_discovery_rate.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataResponsibly/FairPrep/HEAD/examples/skyline_plots/Order_s51966_selection_rate_false_discovery_rate.png -------------------------------------------------------------------------------- /examples/skyline_plots/Order_s57005_accuracy_false_discovery_rate.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataResponsibly/FairPrep/HEAD/examples/skyline_plots/Order_s57005_accuracy_false_discovery_rate.png -------------------------------------------------------------------------------- /examples/skyline_plots/Order_s57005_accuracy_selection_rate.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataResponsibly/FairPrep/HEAD/examples/skyline_plots/Order_s57005_accuracy_selection_rate.png -------------------------------------------------------------------------------- /examples/skyline_plots/Order_s57005_selection_rate_false_discovery_rate.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataResponsibly/FairPrep/HEAD/examples/skyline_plots/Order_s57005_selection_rate_false_discovery_rate.png -------------------------------------------------------------------------------- /examples/skyline_results_play.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataResponsibly/FairPrep/HEAD/examples/skyline_results_play.ipynb -------------------------------------------------------------------------------- /examples/skyline_selection_results.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataResponsibly/FairPrep/HEAD/examples/skyline_selection_results.py -------------------------------------------------------------------------------- /fp/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataResponsibly/FairPrep/HEAD/fp/__init__.py -------------------------------------------------------------------------------- /fp/dataset_experiments.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataResponsibly/FairPrep/HEAD/fp/dataset_experiments.py -------------------------------------------------------------------------------- /fp/experiments.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataResponsibly/FairPrep/HEAD/fp/experiments.py -------------------------------------------------------------------------------- /fp/fixed/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /fp/fixed/eq_odds_postprocessing.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataResponsibly/FairPrep/HEAD/fp/fixed/eq_odds_postprocessing.py -------------------------------------------------------------------------------- /fp/fixed/reject_option_classification.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataResponsibly/FairPrep/HEAD/fp/fixed/reject_option_classification.py -------------------------------------------------------------------------------- /fp/learners.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataResponsibly/FairPrep/HEAD/fp/learners.py -------------------------------------------------------------------------------- /fp/missingvalue_handlers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataResponsibly/FairPrep/HEAD/fp/missingvalue_handlers.py -------------------------------------------------------------------------------- /fp/post_processors.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataResponsibly/FairPrep/HEAD/fp/post_processors.py -------------------------------------------------------------------------------- /fp/pre_processors.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataResponsibly/FairPrep/HEAD/fp/pre_processors.py -------------------------------------------------------------------------------- /fp/scalers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataResponsibly/FairPrep/HEAD/fp/scalers.py -------------------------------------------------------------------------------- /fp/tests/resource/input/data.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataResponsibly/FairPrep/HEAD/fp/tests/resource/input/data.csv -------------------------------------------------------------------------------- /fp/tests/resource/input/data_annotated.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataResponsibly/FairPrep/HEAD/fp/tests/resource/input/data_annotated.obj -------------------------------------------------------------------------------- /fp/tests/resource/input/data_missing.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataResponsibly/FairPrep/HEAD/fp/tests/resource/input/data_missing.csv -------------------------------------------------------------------------------- /fp/tests/resource/input/data_test_with_predictions.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataResponsibly/FairPrep/HEAD/fp/tests/resource/input/data_test_with_predictions.obj -------------------------------------------------------------------------------- /fp/tests/resource/input/data_validation.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataResponsibly/FairPrep/HEAD/fp/tests/resource/input/data_validation.obj -------------------------------------------------------------------------------- /fp/tests/resource/input/data_validation_with_predictions.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataResponsibly/FairPrep/HEAD/fp/tests/resource/input/data_validation_with_predictions.obj -------------------------------------------------------------------------------- /fp/tests/test_datasets.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataResponsibly/FairPrep/HEAD/fp/tests/test_datasets.py -------------------------------------------------------------------------------- /fp/tests/test_experiments.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataResponsibly/FairPrep/HEAD/fp/tests/test_experiments.py -------------------------------------------------------------------------------- /fp/tests/test_learners.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataResponsibly/FairPrep/HEAD/fp/tests/test_learners.py -------------------------------------------------------------------------------- /fp/tests/test_missingvalue_handlers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataResponsibly/FairPrep/HEAD/fp/tests/test_missingvalue_handlers.py -------------------------------------------------------------------------------- /fp/tests/test_post_processors.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataResponsibly/FairPrep/HEAD/fp/tests/test_post_processors.py -------------------------------------------------------------------------------- /fp/tests/test_pre_check.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataResponsibly/FairPrep/HEAD/fp/tests/test_pre_check.py -------------------------------------------------------------------------------- /fp/tests/test_pre_processors.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataResponsibly/FairPrep/HEAD/fp/tests/test_pre_processors.py -------------------------------------------------------------------------------- /fp/tests/test_scalers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataResponsibly/FairPrep/HEAD/fp/tests/test_scalers.py -------------------------------------------------------------------------------- /fp/tests/test_traindata_samplers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataResponsibly/FairPrep/HEAD/fp/tests/test_traindata_samplers.py -------------------------------------------------------------------------------- /fp/traindata_samplers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataResponsibly/FairPrep/HEAD/fp/traindata_samplers.py -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataResponsibly/FairPrep/HEAD/requirements.txt -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataResponsibly/FairPrep/HEAD/setup.py --------------------------------------------------------------------------------