Skip to main content

Equipy is a tool for fast, online fairness calibration

Project description

Build yes

EquiPy is a Python package implementing sequential fairness on the predicted outputs of Machine Learning models, when dealing with multiple sensitive attributes. This post-processing method progressively achieve fairness accross a set of sensitive features by leveraging multi-marginal Wasserstein barycenters, which extends the standard notion of Strong Demographic Parity to the case with multiple sensitive characteristics. This approach seamlessly extends to approximate fairness, enveloping a framework accommodating the trade-off between performance and unfairness.

The project was started in 2023 by François Hu, Philipp Ratz, Suzie Grondin, Agathe Fernandes Machado and Arthur Charpentier, following the release of this paper “A Sequentially Fair Mechanism for Multiple Sensitive Attributes” (https://arxiv.org/pdf/2309.06627.pdf), written by François Hu, Philipp Ratz and Arthur Charpentier.

Installation

Dependencies

EquiPy requires:

  • Numpy (>= 1.17.3)

  • Scipy (>= 1.5.0)

  • Scikit-learn (== 1.3.0)

  • Matplotlib (== 3.7.2)

  • Pandas (== 2.0.3)

  • Statsmodels (== 0.14.0)

  • Seaborn (== 0.12.2)

  • POT (==0.9.1)

User installation

To install EquiPy, use pip:

pip install equipy

Visualization

This package contains the module graphs which allows visualization of the resulting sequential fairness applied to a response variable.

Help and Support

Communication

Mailing list:

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

equipy-0.0.3a0.dev0.tar.gz (17.4 kB view hashes)

Uploaded Source

Built Distribution

equipy-0.0.3a0.dev0-py3-none-any.whl (22.0 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