Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor roc_curve_by_attr to use one thresholds for all the sensitive attribute values #15

Open
shlomihod opened this issue Apr 9, 2019 · 0 comments
Projects

Comments

@shlomihod
Copy link
Member

If different sensitive attribute values use different thresholds, the equalized odds intervention won't be sync across the values.

Therefore, an updated version of roc_curve from sklearn should be used, that takes the global thresholds and generate (fpr,tpr) for each sensitive attribute value:

https://github.com/scikit-learn/scikit-learn/blob/7b136e92acf49d46251479b75c88cba632de1937/sklearn/metrics/ranking.py#L535

@shlomihod shlomihod created this issue from a note in Fairness (To do) Apr 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Fairness
  
To do
Development

No branches or pull requests

1 participant