Tabellab
AI & Data Science Intermediate

AI Fairness & Bias Metrics: Parity, Equal Opportunity & Calibration by Group

Audit a (fictional) loan-approval model hands-on: confusion matrices by group, demographic parity, the disparate impact ratio and four-fifths rule, equal opportunity and equalised odds, calibration by group, threshold trade-offs, intersectional groups and a flagged fairness report card, every cell checked live.

8 lessons 8 labs 1.9 h Certificate

The first lesson is free — no account needed.

About this course

An AI fairness course that audits one fictional loan-approval model group by group in a spreadsheet, for data scientists, ML engineers, risk and compliance teams and students of responsible AI. You count true and false positives and negatives for each group with COUNTIFS and compare accuracy and base rates, calculate selection rates and the demographic parity difference, compute the disparate impact ratio and flag groups below the four-fifths threshold, measure true and false positive rate gaps for equal opportunity and equalised odds, check calibration and predictive parity by score bin, compare four threshold policies on parity and accuracy, split groups by age band with margins of error and flag subgroups too small to judge, and finish with a flagged fairness report card. The four-fifths rule is used as a screening heuristic, not a legal test, and the course is educational, not legal advice. The first lab is free.

Lessons

  1. Confusion Matrix by Group with COUNTIFSLab14 minFree
  2. Selection Rate & Demographic Parity DifferenceLab12 min Pro
  3. Disparate Impact Ratio & the Four-Fifths RuleLab13 min Pro
  4. Equal Opportunity & Equalised Odds: TPR and FPR GapsLab14 min Pro
  5. Predictive Parity & Calibration by Score BinLab15 min Pro
  6. Group Thresholds: Parity vs Accuracy Trade-offsLab16 min Pro
  7. Intersectional Groups & the Small-n ProblemLab14 min Pro
  8. Fairness Report Card: Limits, Flags & HighlightingLab14 min Pro