Skip to main content

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.

Metadata

Release files for justicia 0.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for justicia 0.0.5
File Size Uploaded Provenance Actions
justicia-0.0.5.tar.gz 36.9 kB Without provenance Details for justicia-0.0.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for justicia 0.0.5
File Interpreter ABI Platform Actions
justicia-0.0.5-py3-none-any.whl Python 3 none any Details for justicia-0.0.5-py3-none-any.whl

Total release size: 77.8 kB

Release files / justicia-0.0.5.tar.gz

Download URL justicia-0.0.5.tar.gz
Size 36.9 kB
Tags Source
SHA-256 checksum
How to use checksums
a8202c1bb1cfc7b83542a8b672dbfe0cf55b9ae8cc54e35a59f323d399223da8
BLAKE2b-256 checksum
How to use checksums
930521ffdbce81a72d909b79e98e8d90218069e805798eaeaaffb1a03f2cc6d2
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / justicia-0.0.5-py3-none-any.whl

Download URL justicia-0.0.5-py3-none-any.whl
Size 40.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
be510990c33633c2721e9461e47bf5177c76f88c8b54975f27e6a03a043dbb6d
BLAKE2b-256 checksum
How to use checksums
9cd3a7d78aadf3c5d0cc4253e783dfd5554182bbc33d6457abd58ec395adecda
Upload date
Uploaded using Trusted Publishing?
What is 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

Security for justicia 0.0.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page