#168168th of 433 in ML frameworks and libraries

fairlearn

Python library for measuring and reducing group unfairness in ML models

Stars
2.3k
License
MIT
Last commit
Nov 2026
Last release
Oct 2026
Language
Python
Stars, last 30 weeks+96
27 Apr 2026: 2,217 stars4 May 2026: 2,220 stars11 May 2026: 2,221 stars18 May 2026: 2,226 stars25 May 2026: 2,228 stars1 Jun 2026: 2,233 stars8 Jun 2026: 2,234 stars15 Jun 2026: 2,239 stars22 Jun 2026: 2,242 stars29 Jun 2026: 2,245 stars6 Jul 2026: 2,247 stars13 Jul 2026: 2,250 stars20 Jul 2026: 2,251 stars27 Jul 2026: 2,255 stars3 Aug 2026: 2,261 stars10 Aug 2026: 2,263 stars17 Aug 2026: 2,263 stars24 Aug 2026: 2,269 stars31 Aug 2026: 2,276 stars7 Sept 2026: 2,280 stars14 Sept 2026: 2,281 stars21 Sept 2026: 2,282 stars28 Sept 2026: 2,283 stars5 Oct 2026: 2,284 stars12 Oct 2026: 2,287 stars19 Oct 2026: 2,294 stars26 Oct 2026: 2,297 stars2 Nov 2026: 2,305 stars9 Nov 2026: 2,305 stars16 Nov 2026: 2,310 stars23 Nov 2026: 2,313 stars

2,217 on 27 Apr 20262,313 on 23 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

Fairlearn is a Python package with two parts: metrics that show which groups a model harms, and mitigation algorithms that reduce unfairness under several group-fairness definitions. It also ships Jupyter example notebooks and a user guide. It addresses allocation harms and quality-of-service harms, with the relevant groups specified by the data scientist.

Who it is for: Data scientists auditing and mitigating bias in ML models

Strengths

  • Covers both assessment metrics and mitigation algorithms in one package
  • Installs with pip install fairlearn; no services or database needed
  • Docs include user guide, quickstart, API reference and example gallery
  • MIT license; recent release and commits

Weaknesses

  • Group fairness only; individual fairness is not covered by the README
  • Groups must be chosen and specified by the user for each application
  • Example notebooks from main may not match pip-installed versions
  • Quantitative metrics cannot capture justice or due process

What changed

  1. v0.14.0 ↗ (opens in a new tab)Security fix

    “Raised the minimum supported scikit-learn to 1.5.0 and the pinned torch in requirements-min.txt to 2.8.0 to clear Dependabot security advisories: #1645 by @romanlutz.”

From the release notes. No flag means the note does not say so, not that the upgrade is safe. Releases and problems by RSS

Also in ML frameworks and libraries

See all 433
Also in ML frameworks and libraries
RankProjectScore
#166linfaRust toolkit of classical ML algorithms, modeled on scikit-learn4.8k starsApache-2.062 out of 100
#167lite.ai.toolkitC++ library running 100+ pretrained vision models via ONNXRuntime, MNN and TensorRT4.5k starsGPL-3.062 out of 100
#169skrubPython library for machine learning on dataframes1.7k starsBSD-3-Clause62 out of 100
#170neuralpde.jlJulia package for solving PDEs with physics-informed neural networks1.2k starscustom license62 out of 100
#171recommenders-team/recommendersRecommender-system algorithms and Jupyter notebooks in Python22k starsMIT61 out of 100