# Measuring Results Group by Group

One score for everyone hides how a model treats each group, so you split the test rows by group, count each group's own confusion matrix, and compare three rates, the selection rate, the true positive rate and the false positive rate, whose gaps are what Fairlearn's demographic parity and equalized odds ask to be zero.

![Cheat sheet: Measuring Results Group by Group](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/11/d58447e392b941afadbb8f4275bcf05c.webp)

- Category: Machine Learning
- Level: Freelancer
- Tags: ai, Confusion Matrix, Demographic Parity, Equalized Odds, False Positive Rate, python, Recall (ai), Selection Rate
- Author: Gregor Dzierzon
- Updated: November 23, 2026

Source: https://www.ask-codey.com/cheat-sheets/ml-fairness-by-group-cheat-sheet
