internalsGet Pro

Module 12 · Lesson 8 of 12Pro

Fairness: checking models for bias

Level
Intermediate
Topic
Model evaluation and experimentation
Reading time
16 min

When you finish this page you can

  1. Compute selection rate, recall and precision for each group on a model’s list, and name who the list leaves out.
  2. Explain demographic parity, equal opportunity and predictive parity, and why they can’t all hold when base rates differ.
  3. Explain why dropping a column doesn’t remove what it carries, and test the features for proxies.
  4. Choose a fairness criterion with the business, close a gap by re-thresholding or fixing the data, and record the choice.
  1. Design: a churn prediction model for an online store28 min
  2. Precision and recall: two ways to be wrong13 min

Video lesson · coming soon

Equal shares, unequal chances

is our example online store. Every Monday, a model ranks the 200,000 customers in the notebook sample by how likely they are to stop buying. Joseph’s growth team emails a ₹100 voucher to the top 20,000. Farah’s new model reaches about 10,200 real leavers on that list.

Our biggest sale ever · Black Friday

Flat 50% Off

Pro

Continue reading

Unlock every course, now and later

  • System Design, live
  • AI Engineering, live
  • Data Engineering, live
  • Machine Learning Engineering, live
  • Inference Engineering, coming soon
  • AI Research, coming soon
  • Performance Engineering, coming soon
  • Agent & Harness Engineering, coming soon
  • LLM Fine-tuning, coming soon
  • LLM Pre-training & Post-training, coming soon
  • Reinforcement Learning, coming soon
  • AI Infrastructure & Platform Engineering, coming soon
  • AI Evaluation & Safety, coming soon
  • Forward Deployed Engineering, coming soon
  • Cloud Computing, coming soon
  • DevOps, coming soon

50% off · Annual and Lifetime

BLACKFRIDAY50Applied at checkout

Choose a plan