-
Notifications
You must be signed in to change notification settings - Fork 833
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
scikit-learn-compatible API #134
Conversation
* dataset loading is more similar to sklearn.datasets * label binarization is now done outside standardize_dataset * metrics use 'groups' and 'priv_group' to signify priv/unpriv split
removed Reweighing.sample_weight_ attribute
also added score function (compute weighted cost)
added additional tests to check this
* fixed German 'age' from being dropped * renamed two_year_recid labels to 'Survived' and 'Recidivated' to match ProPublica article * reordered COMPAS categories to 'Male' < 'Female' * added 'foreign_worker' protected attribute for German
5ded679
to
8fdd6dc
Compare
Thanks @hoffmansc. Maybe you can schedule 30 min review with @Tomcli myself ? |
Sure. Sent an invite. |
cc @adrinjalali Adrian this is a PR originating from the original request Would be great to get your feedback and review on this, as well as how can we target this toward SKLearn community? |
@hoffmansc @nrkarthikeyan best to get this merged if the issues are non blockers, and then we can come back with refinements. |
* added one-hot encoding example and random_states to demo notebook * added 'prefit' option to PostProcessingMeta * multiple fixes to docstring wordings * added additional links/disclaimers in docstrings * renamed CalibratedEqualizedOdds args to X and y
Progress towards #58
Old API:
New Sphinx docs layout
New API:
sklearn.datasets.fetch_openml
for datasets. #53statistical_parity_difference
,disparate_impact_ratio
,equal_opportunity_difference
,average_odds_difference
,average_odds_error
,between_group_generalized_entropy_error
)generalized_entropy_index
and its variants,consistency_score
)specificity_score
,base_rate
,selection_rate
,generalized_fpr
,generalized_fnr
)Reweighing
,AdversarialDebiasing
,CalibratedEqualizedOdds
)