fairlearn and AIF360

These are complementary tools that can be used together, as fairlearn focuses on fairness assessment and mitigation through constraints-based optimization, while AIF360 provides a broader toolkit of bias metrics, explainability for those metrics, and diverse mitigation algorithms that address different fairness definitions and use cases.

fairlearn
91
Verified
AIF360
79
Verified
Maintenance 16/25
Adoption 25/25
Maturity 25/25
Community 25/25
Maintenance 6/25
Adoption 23/25
Maturity 25/25
Community 25/25
Stars: 2,213
Forks: 484
Downloads: 170,696
Commits (30d): 2
Language: Python
License: MIT
Stars: 2,763
Forks: 902
Downloads: 34,451
Commits (30d): 0
Language: Python
License: Apache-2.0
No risk flags
No risk flags

About fairlearn

fairlearn/fairlearn

A Python package to assess and improve fairness of machine learning models.

Provides dual assessment and mitigation tools: metrics for identifying which demographic groups experience allocation or quality-of-service harms, and algorithms for reducing unfairness across multiple fairness definitions. Implements group fairness constraints that enforce comparable model behavior across specified demographic groups, enabling data scientists to quantify fairness trade-offs against accuracy. Integrates with standard ML workflows through scikit-learn-compatible APIs and includes Jupyter notebooks demonstrating real-world applications in hiring, lending, and admissions scenarios.

About AIF360

Trusted-AI/AIF360

A comprehensive set of fairness metrics for datasets and machine learning models, explanations for these metrics, and algorithms to mitigate bias in datasets and models.

Provides pre- and in-processing debiasing algorithms (reweighting, disparate impact removal, adversarial debiasing) alongside 20+ fairness metrics spanning group fairness, individual fairness, and sample distortion measures. Available in both Python and R with modular dependencies, allowing users to install only required algorithm backends (TensorFlow for adversarial debiasing, CVXPY for optimization-based methods). Extensible architecture designed for research-to-practice translation across finance, HR, healthcare, and education domains.

Scores updated daily from GitHub, PyPI, and npm data. How scores work