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
-
SSAT solver. Checkout to the compatible version.
git clone https://github.com/NTU-ALComLab/ssatABC.git cd ssatABC git checkout 91a93a57c08812e3fe24aabd71219b744d2355ad
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 details)
Built Distribution
justicia-0.0.5-py3-none-any.whl
(40.9 kB
view details)
File details
Details for the file justicia-0.0.5.tar.gz
.
File metadata
- Download URL: justicia-0.0.5.tar.gz
- Upload date:
- Size: 36.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.5.0.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a8202c1bb1cfc7b83542a8b672dbfe0cf55b9ae8cc54e35a59f323d399223da8 |
|
MD5 | 3b8a56df55bfadaf98aa1fc65fb8dc26 |
|
BLAKE2b-256 | 930521ffdbce81a72d909b79e98e8d90218069e805798eaeaaffb1a03f2cc6d2 |
File details
Details for the file justicia-0.0.5-py3-none-any.whl
.
File metadata
- Download URL: justicia-0.0.5-py3-none-any.whl
- Upload date:
- Size: 40.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.5.0.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | be510990c33633c2721e9461e47bf5177c76f88c8b54975f27e6a03a043dbb6d |
|
MD5 | c2f3d3bc71206447ebd36c1379c154f1 |
|
BLAKE2b-256 | 9cd3a7d78aadf3c5d0cc4253e783dfd5554182bbc33d6457abd58ec395adecda |