GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - fairlearn/fairlearn: A Python package to assess and improve fairness of machine learning models.

BranchesTags
Open more actions menu

Latest commit

 

History

1,121 Commits
1,121 Commits

Folders and files

NameName
Last commit message
Last commit date
.circleci
.circleci
 
 
.github
.github
 
 
docs
docs
 
 
examples
examples
 
 
fairlearn
fairlearn
 
 
scripts
scripts
 
 
test
test
 
 
test_othermlpackages
test_othermlpackages
 
 
.git-blame-ignore-revs
.git-blame-ignore-revs
 
 
.gitignore
.gitignore
 
 
.pre-commit-config.yaml
.pre-commit-config.yaml
 
 
CITATION.cff
CITATION.cff
 
 
LICENSE
LICENSE
 
 
Makefile
Makefile
 
 
README.rst
README.rst
 
 
codecov.yml
codecov.yml
 
 
pyproject.toml
pyproject.toml
 
 
requirements-dev.txt
requirements-dev.txt
 
 
requirements-min.txt
requirements-min.txt
 
 

Repository files navigation

MIT license PyPI Discord StackOverflow

Fairlearn

Fairlearn is a Python package that empowers developers of artificial intelligence (AI) systems to assess their system's fairness and mitigate any observed unfairness issues. Fairlearn contains mitigation algorithms as well as metrics for model assessment. Besides the source code, this repository also contains Jupyter notebooks with examples of Fairlearn usage.

Website: https://fairlearn.org/

  • What we mean by *fairness*
  • Overview of Fairlearn
  • Getting started with fairlearn
  • Maintainers
  • Code of conduct
  • Issues

What we mean by fairness

An AI system can behave unfairly for a variety of reasons. In Fairlearn, we define whether an AI system is behaving unfairly in terms of its impact on people – i.e., in terms of harms. We focus on two kinds of harms:

  • Allocation harms. These harms can occur when AI systems extend or withhold opportunities, resources, or information. Some of the key applications are in hiring, school admissions, and lending.
  • Quality-of-service harms. Quality of service refers to whether a system works as well for one person as it does for another, even if no opportunities, resources, or information are extended or withheld.

We follow the approach known as group fairness, which asks: Which groups of individuals are at risk for experiencing harms? The relevant groups need to be specified by the data scientist and are application specific.

Group fairness is formalized by a set of constraints, which require that some aspect (or aspects) of the AI system's behavior be comparable across the groups. The Fairlearn package enables assessment and mitigation of unfairness under several common definitions. To learn more about our definitions of fairness, please visit our user guide on Fairness of AI Systems.

Note: Fairness is fundamentally a sociotechnical challenge. Many aspects of fairness, such as justice and due process, are not captured by quantitative fairness metrics. Furthermore, there are many quantitative fairness metrics which cannot all be satisfied simultaneously. Our goal is to enable humans to assess different mitigation strategies and then make trade-offs appropriate to their scenario.

Overview of Fairlearn

The Fairlearn Python package has two components:

  • Metrics for assessing which groups are negatively impacted by a model, and for comparing multiple models in terms of various fairness and accuracy metrics.
  • Algorithms for mitigating unfairness in a variety of AI tasks and along a variety of fairness definitions.

Fairlearn metrics

Check out our in-depth guide on the Fairlearn metrics.

Fairlearn algorithms

For an overview of our algorithms please refer to our website.

Getting Started with Fairlearn

First steps

  • Install via pip: pip install fairlearn
  • Visit the Quickstart guide.
  • Learning Resources:
    • Read the comprehensive user guide.
    • Look through the example notebooks.

For Users & Practitioners

  • Browse the example gallery. Please note that notebooks downloaded from main may not be compatible with pip-installed versions.
  • Check the API reference.
  • Get Help:
    • Ask questions on Stack Overflow with tag fairlearn.
    • Join the Discord community for discussions.

For Contributors

  • Read the contributor guide.
  • Check out the good first issues.
  • Follow the development process.
  • Join the Discord for contributor discussions. Please use the #development channel.

Maintainers

A list of current maintainers is on our website.

Code of conduct

Fairlearn follows the Fairlearn Organization's Code of Conduct.

Issues

Regular (non-security) issues

Issues are meant for bugs, feature requests, and documentation improvements. Please submit a report through GitHub issues. A maintainer will respond promptly as appropriate.

Maintainers will try to link duplicate issues when possible.

Reporting security issues

To report security issues please send an email to [email protected].

About

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

fairlearn.org

Topics

aiai-systemsartificial-intelligencefairnessfairness-aifairness-assessmentfairness-mlgroup-fairnessharmsmachine-learningresponsible-aiunfairness-mitigation

Resources

Readme
MIT license
Activity
Custom properties

Stars

2.3k stars

Watchers

38 watching

Forks

535 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.