Skip to main content
Module 11 · Lesson 1 of 552/56 in the course~22 min
Module lessons (1/5)

Bias and fairness

Lesson preview5 hands-on exercises readyMachine Learning: from first principles to practice · Module 11 — Responsible ML, explainability and capstones

Demographic parity, equalized odds, disparate impact, and proxy correlations.

What you'll learn in this lesson

  • Identify sources of bias in training data and learned model representations.
  • Compute fairness metrics: Demographic Parity, Equalized Odds, and Disparate Impact.
  • Explain why "fairness through unawareness" fails due to proxy features.

Overview

Because algorithms are composed of mathematical formulas and lines of code, it is tempting to believe they are inherently objective. But machine learning models learn entirely from historical data.

If historical decisions in hiring, lending, healthcare, or policing were influenced by systemic disparities or human prejudice, a machine learning model will not correct those disparities: it will learn, codify, and scale them.

Sections covered in this lesson

  1. 1The illusion of algorithmic neutrality
  2. 2Measuring fairness: three common criteria
  3. 3Practice
  4. 4Check your understanding
Pro Lesson · Module 11 — Responsible ML, explainability and capstones

Unlock "Bias and fairness" and the full Machine Learning: from first principles to practice curriculum

Demographic parity, equalized odds, disparate impact, and proxy correlations.

Unlock all 5 hands-on exercises in this lesson plus every advanced WebAssembly module with automated checks.

  • Instant access to all advanced modules in Machine Learning: from first principles to practice plus 17 more courses
  • Hands-on browser exercises with automated test suites and solutions
  • 14-day money-back guarantee processed via Paddle.com

14-day guarantee · Cancel anytimeModule 1, all 18 interactive games, and cheatsheets are always free.