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.
Value counts
CorrelationRemover visualization
CorrelationRemover visualization
MetricFrame visualizations
Passing pipelines to mitigation techniques
Passing pipelines to mitigation techniques
Basics & Model Specification of AdversarialFairnessClassifier
Basics & Model Specification of AdversarialFairnessClassifier
MetricFrame: Beyond Binary Classification
MetricFrame: Beyond Binary Classification
Making Derived Metrics
GridSearch with Census Data
Fine Tuning ad AdversarialFairnessClassifier
Fine Tuning ad AdversarialFairnessClassifier
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