fairlearn/fairlearn

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

91
/ 100
Verified

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.

2,213 stars and 170,696 monthly downloads. Used by 9 other packages. Actively maintained with 2 commits in the last 30 days. Available on PyPI.

Maintenance 16 / 25
Adoption 25 / 25
Maturity 25 / 25
Community 25 / 25

How are scores calculated?

Stars

2,213

Forks

484

Language

Python

License

MIT

Last pushed

Mar 12, 2026

Monthly downloads

170,696

Commits (30d)

2

Dependencies

5

Reverse dependents

9

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/ml-frameworks/fairlearn/fairlearn"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.