Fairness: Programming exercise
Stay organized with collections
Save and categorize content based on your preferences.
The following exercise demonstrates how to audit data sets with fairness in
mind, and how to employ bias-remediation strategies to address fairness
issues:
Programming exercises run directly in your browser (no setup
required!) using the Colaboratory
platform. Colaboratory is supported on most major browsers, and is most
thoroughly tested on desktop versions of Chrome and Firefox.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-25 UTC.
[null,null,["Last updated 2025-08-25 UTC."],[[["\u003cp\u003eThis exercise demonstrates how to audit data sets for fairness and apply bias-remediation strategies.\u003c/p\u003e\n"],["\u003cp\u003eThe programming exercises are run directly in your browser using the Colaboratory platform with no setup required.\u003c/p\u003e\n"],["\u003cp\u003eColaboratory is supported on most major browsers and is most thoroughly tested on desktop versions of Chrome and Firefox.\u003c/p\u003e\n"],["\u003cp\u003eUsers can access a Help Center for support with machine learning education.\u003c/p\u003e\n"]]],[],null,["# Fairness: Programming exercise\n\nThe following exercise demonstrates how to audit data sets with fairness in\nmind, and how to employ bias-remediation strategies to address fairness\nissues: \n[Open fairness exercise](https://colab.research.google.com/github/google/eng-edu/blob/main/ml/cc/exercises/fairness_income.ipynb?utm_source=mlcc&utm_campaign=colab-external&utm_medium=referral&utm_content=fairness)\n\nProgramming exercises run directly in your browser (no setup\nrequired!) using the [Colaboratory](https://colab.research.google.com)\nplatform. Colaboratory is supported on most major browsers, and is most\nthoroughly tested on desktop versions of Chrome and Firefox. \n[Help Center](https://support.google.com/machinelearningeducation)"]]