0
0
ML Pythonml~5 mins

Fairness metrics in ML Python - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is the purpose of fairness metrics in machine learning?
Fairness metrics help us check if a model treats different groups of people equally, avoiding bias and unfair treatment.
Click to reveal answer
beginner
Explain 'Demographic Parity' as a fairness metric.
Demographic Parity means the model should give positive outcomes equally across different groups, regardless of their group membership.
Click to reveal answer
intermediate
What does 'Equalized Odds' measure in fairness?
Equalized Odds checks if the model has equal true positive rates and false positive rates for all groups, ensuring fairness in errors and correct predictions.
Click to reveal answer
intermediate
Define 'Predictive Parity' in fairness metrics.
Predictive Parity means the model's positive predictions should be equally accurate for all groups, so the chance that a positive prediction is correct is the same.
Click to reveal answer
advanced
Why can it be difficult to satisfy all fairness metrics at once?
Because some fairness metrics can conflict with each other, improving one might make another worse. This is called the fairness trade-off.
Click to reveal answer
Which fairness metric requires equal positive prediction rates across groups?
ADemographic Parity
BEqualized Odds
CPredictive Parity
DCalibration
Equalized Odds ensures equal rates of which of the following across groups?
APositive prediction values
BOverall accuracy
CTrue positive and false positive rates
DNegative prediction values
Predictive Parity focuses on equalizing what aspect of model predictions?
AThe accuracy of positive predictions
BThe proportion of positive predictions
CThe false negative rate
DThe overall error rate
What is a common challenge when applying multiple fairness metrics simultaneously?
AThey always improve model accuracy
BThey require no data preprocessing
CThey guarantee fairness without tuning
DThey can conflict and cause trade-offs
Which fairness metric is concerned with equalizing error rates between groups?
ADemographic Parity
BEqualized Odds
CPredictive Parity
DStatistical Parity
Describe three common fairness metrics used to evaluate machine learning models and explain what each one measures.
Think about how each metric checks fairness from a different angle: outcomes, errors, or prediction accuracy.
You got /4 concepts.
    Explain why it might be impossible to satisfy all fairness metrics at the same time in a machine learning model.
    Consider how improving fairness for one group or metric can affect others negatively.
    You got /4 concepts.