Actual positive Actual negative Threshold plane
◤ Group A (near) ◥ Group B (far)
⚠ Couldn't load the 3D engineThree.js failed to load from the CDN. Check your connection and reload.

Base-Rate Fairness Impossibility Lab

A machine learning classifier scores two demographic groups using exactly the same underlying risk model — yet the groups have different true base rates for the outcome being predicted. This simulator renders both populations as 3D point clouds along a shared score axis and lets you set each group's base rate and the decision threshold(s), then watches equalized-odds metrics (FPR, TPR) and the calibration metric (PPV) update live. The result reproduces a real mathematical fact known as the fairness impossibility theorem: when base rates differ, equal accuracy across groups and equal calibration across groups cannot both hold at once, except in the trivial case where the base rates already match.