ALENZA CODES

Fairness metrics

Quantitative measures for comparing a model's outcomes or errors across groups.

Common metrics include demographic parity (similar rates of positive outcomes), equalised odds (similar true and false positive rates) and predictive parity (similar precision). These can be mathematically incompatible when base rates differ, so choosing a metric is a value judgment that should be documented and tied to the harm you care most about. Tools such as Fairlearn compute them.