AIF360
AIF360 copied to clipboard
Include additional classification metrics
Include the following metrics:
- Equalized odds difference:
max(|FPR_unpriv - FPR_priv|, |TPR_unpriv - TPR_priv|)
- Generalized equalized odds difference:
max(|GFPR_unpriv - GFPR_priv|, |GTPR_unpriv - GTPR_priv|)
- Generalized selection rate: mean score possibly conditioned by the group
E[\hat{S}]
This can be implemented for the "classic": https://github.com/Trusted-AI/AIF360/blob/master/aif360/metrics/classification_metric.py
as well as the sklearn-compatible: https://github.com/Trusted-AI/AIF360/blob/master/aif360/sklearn/metrics/metrics.py
versions
Hi! Working on this issue. Can I get assigned to this?
what does "generalized selection rate" mean? I couldn't find much about it anywhere
Status:
Classic:
- [X] Equalized odds difference
- [X] Generalized equalized odds difference
- [ ] Generalized selection rate
sklearn:
- [ ] Equalized odds difference
- [ ] Generalized equalized odds difference
- [ ] Generalized selection rate
Hi! This PR addresses the equalized odds difference and generalized equalized odds difference for sklearn
.