-
Notifications
You must be signed in to change notification settings - Fork 825
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 make_scorer for group fairness metrics #174
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like it!
Could you also adjust the docs? Just replace the two lines with make_scorer
.
Hey @hoffmansc, I think that addressed your comments. Is there something else? Apart from that I think that the default cross_val_score(model, X, y, scoring="statistical_parity_difference") or getting the scorer from from sklearn.metrics import get_scorer
scorer = get_scorer("statistical_parity_difference") Monkey-patching might be a controversial thing in the community. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@chkoar I don't feel that strongly about it but I do think it might add a little bit of confusion about what functionality is coming from which library... For now, the current syntax doesn't seem too cumbersome to me |
This might be true. In any case I opened an issue in the |
* Refactor make_scorer for group fairness metrics * Address hoffmansc comments
No description provided.