jphall663 / interpretable_machine_learning_with_python

Examples of techniques for training interpretable ML models, explaining ML models, and debugging ML models for accuracy, discrimination, and security.
669 stars 207 forks source link

Add adverse impact ratio for dia.ipynb #9

Closed jphall663 closed 5 years ago

jphall663 commented 5 years ago

We need to add another metric:

Adverse Impact: (tp + fp) / (tp + fp + tn + fn)

Adverse Impact Disparity (Ratio): non-reference adverse impact / reference adverse impact

Adverse Impact Parity: low_threshold < Adverse Impact Disparity < high_threshold