Skip to main content

This library can be used formally verify machine learning models on multiple fairness definitions.

Project description

Justicia

This is the implementation of our AAAI 2021 and 2022 papers where we have proposed a formal approach to verify the fairness of machine learning classifiers.

Documentation

Python tutorials are available in doc.

Install

  • Install python dependencies (prerequisite) pip install -r requirements.txt
  • Install the python library pip install justicia

Other dependencies

  • PGMPY

  • SSAT solver. Checkout to the compatible version.

    git clone https://github.com/NTU-ALComLab/ssatABC.git
    cd ssatABC
    git checkout 91a93a57c08812e3fe24aabd71219b744d2355ad
    
  • PySAT

Citations

Please cite following papers.

@inproceedings{ghosh2022algorithmic,
author={Ghosh, Bishwamittra and Basu, Debabrota and Meel, Kuldeep S.},
title={Algorithmic Fairness Verification with Graphical Models},
booktitle={Proceedings of AAAI},
month={2},
year={2022},
}

@inproceedings{ghosh2021justicia,
author={Ghosh, Bishwamittra and Basu, Debabrota and Meel, Kuldeep S.},
title={Justicia: A Stochastic {SAT} Approach to Formally Verify Fairness},
booktitle={Proceedings of AAAI},
month={2},
year={2021},
}

Contact

Bishwamittra Ghosh (bghosh@u.nus.edu)

Issues, questions, bugs, etc.

Please click on "issues" at the top and create a new issue. All issues are responded to promptly.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

justicia-0.0.5.tar.gz (36.9 kB view hashes)

Uploaded Source

Built Distribution

justicia-0.0.5-py3-none-any.whl (40.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page