1 of 9

Ethics & Bias in AI �Activities

05/05/2026

2 of 9

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

  • Given the table with ground truth of an allocation problem (Y_true), and a prediction made by a Machine learning (ML) model (Y_pred). Please note: 0 means an allocation was not made, 1 means it was made. One protected feature was listed for each instance in terms of {p, x}. Consider: p is unprivileged.

Please compute Statistical Parity Difference of the ML model.

3 of 9

Your answer:

  •  

4 of 9

Q2 ~ same dataset

  • Given the table with ground truth of an allocation problem (Y_true), and a prediction made by a Machine learning (ML) model (Y_pred). Please note: 0 means an allocation was not made, 1 means it was made. One protected feature was listed for each instance in terms of {p, x}. Consider: p is unprivileged.

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

5 of 9

Your answer:

  •  

6 of 9

Q3 ~ same dataset

  • Given the table with ground truth of an allocation problem (Y_true), and a prediction made by a Machine learning (ML) model (Y_pred). Please note: 0 means an allocation was not made, 1 means it was made. One protected feature was listed for each instance in terms of {p, x}. Consider: p is unprivileged.

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

7 of 9

Your answer:

  •  

8 of 9

Q4 ~ same dataset

  • Given the table with ground truth of an allocation problem (Y_true), and a prediction made by a Machine learning (ML) model (Y_pred). Please note: 0 means an allocation was not made, 1 means it was made. One protected feature was listed for each instance in terms of {p, x}. Consider: p is unprivileged.

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

9 of 9

Your answer:

  •