Example Notebooks#

Here’s a list of examples on how to use the library. We will be adding more examples soon. If you’re interested in contributing to existing notebooks or adding new ones please consult the guide on Contributing example notebooks.

Note

The Fairlearn API is still evolving, so if you want to run these on your local Fairlearn installation, make sure to match versions.

Selection rates in census dataset

Selection rates in census dataset

MetricFrame visualizations

MetricFrame visualizations

CorrelationRemover visualization

CorrelationRemover visualization

Passing pipelines to mitigation techniques

Passing pipelines to mitigation techniques

MetricFrame: Beyond Binary Classification

MetricFrame: Beyond Binary Classification

Making Derived Metrics

Making Derived Metrics

GridSearch with Census Data

GridSearch with Census Data

Plotting Metrics with Errors

Plotting Metrics with Errors

Metrics with Multiple Features

Metrics with Multiple Features

Intersectionality in Mental Health Care

Intersectionality in Mental Health Care

Credit Loan Decisions

Credit Loan Decisions

Gallery generated by Sphinx-Gallery