Skip to content
Preptima
hardConceptDesignScenarioMidSeniorStaffLead

How would you test a model for bias?

6 min readUpdated 2026-08-15

Answer

Short answer

Decide which groups you are testing across and how you will obtain that attribute, choose one fairness definition and justify it - because the common definitions are mathematically incompatible and cannot all be satisfied - then report performance and error rates per group with sample sizes and intervals attached.

Was this answer helpful?

Likely follow-ups

  • You are not permitted to collect ethnicity. How do you test for disparity across it, and what are the limits of what you can conclude?
  • Removing the protected attribute from the features did not remove the disparity. Why not?
  • Your model is well calibrated across groups but the false negative rates differ. Which do you fix and who decides?
  • A disparity appears in a segment with 90 examples. What do you report?

Related questions

Further reading