Ethics & Bias in AI �Activities
05/05/2026
Q1
Y_true | Y_pred | Protected_feature1 |
0 | 0 | x |
1 | 0 | x |
1 | 1 | p |
1 | 0 | x |
1 | 1 | x |
0 | 1 | x |
1 | 1 | x |
0 | 0 | p |
1 | 0 | p |
0 | 1 | p |
0 | 1 | x |
0 | 1 | p |
1 | 1 | x |
1 | 0 | x |
1 | 0 | p |
1 | 1 | x |
1 | 1 | x |
1 | 0 | x |
Please compute Statistical Parity Difference of the ML model.
Your answer:
Q2 ~ same dataset
Please compute Disparate Impact of the ML model.
Y_true | Y_pred | Protected_feature1 |
0 | 0 | x |
1 | 0 | x |
1 | 1 | p |
1 | 0 | x |
1 | 1 | x |
0 | 1 | x |
1 | 1 | x |
0 | 0 | p |
1 | 0 | p |
0 | 1 | p |
0 | 1 | x |
0 | 1 | p |
1 | 1 | x |
1 | 0 | x |
1 | 0 | p |
1 | 1 | x |
1 | 1 | x |
1 | 0 | x |
Your answer:
Q3 ~ same dataset
Please compute Equal Opportunity Difference of the ML model.
Y_true | Y_pred | Protected_feature1 |
0 | 0 | x |
1 | 0 | x |
1 | 1 | p |
1 | 0 | x |
1 | 1 | x |
0 | 1 | x |
1 | 1 | x |
0 | 0 | p |
1 | 0 | p |
0 | 1 | p |
0 | 1 | x |
0 | 1 | p |
1 | 1 | x |
1 | 0 | x |
1 | 0 | p |
1 | 1 | x |
1 | 1 | x |
1 | 0 | x |
Your answer:
Q4 ~ same dataset
Please comment based on your understanding from Questions 1, 2 and 3:
on i) the original dataset, ii) the predictor model.
Y_true | Y_pred | Protected_feature1 |
0 | 0 | x |
1 | 0 | x |
1 | 1 | p |
1 | 0 | x |
1 | 1 | x |
0 | 1 | x |
1 | 1 | x |
0 | 0 | p |
1 | 0 | p |
0 | 1 | p |
0 | 1 | x |
0 | 1 | p |
1 | 1 | x |
1 | 0 | x |
1 | 0 | p |
1 | 1 | x |
1 | 1 | x |
1 | 0 | x |
Your answer: