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

scikit-learn-compatible API #134

Merged
merged 61 commits into from
Feb 19, 2020
Merged

scikit-learn-compatible API #134

merged 61 commits into from
Feb 19, 2020

Commits on Dec 19, 2019

  1. Initial sklearn-compatible datasets and metrics

    Samuel Hoffman authored and hoffmansc committed Dec 19, 2019
    Configuration menu
    Copy the full SHA
    8cfa9de View commit details
    Browse the repository at this point in the history
  2. added initial dataset tests

    Samuel Hoffman authored and hoffmansc committed Dec 19, 2019
    Configuration menu
    Copy the full SHA
    1f4ae57 View commit details
    Browse the repository at this point in the history
  3. fixed to_list for older pandas versions

    Samuel Hoffman authored and hoffmansc committed Dec 19, 2019
    Configuration menu
    Copy the full SHA
    2aef3fc View commit details
    Browse the repository at this point in the history
  4. added metrics tests

    hoffmansc committed Dec 19, 2019
    Configuration menu
    Copy the full SHA
    2b1799a View commit details
    Browse the repository at this point in the history
  5. added README and docs

    hoffmansc committed Dec 19, 2019
    Configuration menu
    Copy the full SHA
    9da5abd View commit details
    Browse the repository at this point in the history
  6. simpler dataset loading and 'groups' for metrics

    * 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
    hoffmansc committed Dec 19, 2019
    Configuration menu
    Copy the full SHA
    025ecc1 View commit details
    Browse the repository at this point in the history
  7. fixes to categoricals

    hoffmansc committed Dec 19, 2019
    Configuration menu
    Copy the full SHA
    8e96177 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    8abb897 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    15a8eb2 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    3f594a4 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    7754b32 View commit details
    Browse the repository at this point in the history
  12. added Reweighing algorithm

    hoffmansc committed Dec 19, 2019
    Configuration menu
    Copy the full SHA
    17b0c95 View commit details
    Browse the repository at this point in the history
  13. clean up comments

    hoffmansc committed Dec 19, 2019
    Configuration menu
    Copy the full SHA
    cc9246f View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    8c58f65 View commit details
    Browse the repository at this point in the history
  15. adding hyperlinks to SLEPs

    animeshsingh authored and hoffmansc committed Dec 19, 2019
    Configuration menu
    Copy the full SHA
    1e7899c View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    c1c1e40 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    93a7cdf View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    8e52268 View commit details
    Browse the repository at this point in the history
  19. updated README

    hoffmansc committed Dec 19, 2019
    Configuration menu
    Copy the full SHA
    0183449 View commit details
    Browse the repository at this point in the history
  20. fixed docstring formatting

    hoffmansc committed Dec 19, 2019
    Configuration menu
    Copy the full SHA
    89b4a79 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    d57b6df View commit details
    Browse the repository at this point in the history
  22. added __all__ to __init__s

    hoffmansc committed Dec 19, 2019
    Configuration menu
    Copy the full SHA
    d8958bb View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    0bd3837 View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    4107dd7 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    df85e42 View commit details
    Browse the repository at this point in the history
  26. fix build errors

    hoffmansc committed Dec 19, 2019
    Configuration menu
    Copy the full SHA
    d2d0ddc View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    7a2414a View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    aac9954 View commit details
    Browse the repository at this point in the history
  29. changed Reweighing to return X, sample_weight

    removed Reweighing.sample_weight_ attribute
    hoffmansc committed Dec 19, 2019
    Configuration menu
    Copy the full SHA
    dc317cf View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    0f184c3 View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    ec4a1de View commit details
    Browse the repository at this point in the history
  32. added generalized_fnr/fpr metrics

    also added warning when dividing by zero in ratio
    hoffmansc committed Dec 19, 2019
    Configuration menu
    Copy the full SHA
    f8c4fc5 View commit details
    Browse the repository at this point in the history
  33. fixed dataset_processing

    changed bank dataset target to return bool
    hoffmansc committed Dec 19, 2019
    Configuration menu
    Copy the full SHA
    7ce2f42 View commit details
    Browse the repository at this point in the history
  34. initial calibrated equalized odds port

    bug fix in old implementation (weighted cost was calculated incorrectly)
    hoffmansc committed Dec 19, 2019
    Configuration menu
    Copy the full SHA
    973a774 View commit details
    Browse the repository at this point in the history
  35. Configuration menu
    Copy the full SHA
    40cad96 View commit details
    Browse the repository at this point in the history
  36. Configuration menu
    Copy the full SHA
    dc410a2 View commit details
    Browse the repository at this point in the history
  37. updated readme

    hoffmansc committed Dec 19, 2019
    Configuration menu
    Copy the full SHA
    e0856e3 View commit details
    Browse the repository at this point in the history
  38. Configuration menu
    Copy the full SHA
    8f8cd76 View commit details
    Browse the repository at this point in the history
  39. added COMPAS and other dataset fixes* fixed german dataset to match p…

    …aper* added ColumnAlreadyDroppedWarnings in standardize_dataset* added compas test and fixed old tests to match new drop warnings
    hoffmansc committed Dec 19, 2019
    Configuration menu
    Copy the full SHA
    e01f23f View commit details
    Browse the repository at this point in the history
  40. Configuration menu
    Copy the full SHA
    e92f846 View commit details
    Browse the repository at this point in the history
  41. removed unused import

    hoffmansc committed Dec 19, 2019
    Configuration menu
    Copy the full SHA
    27aa55c View commit details
    Browse the repository at this point in the history
  42. make cache dir if necessary

    hoffmansc committed Dec 19, 2019
    Configuration menu
    Copy the full SHA
    831775c View commit details
    Browse the repository at this point in the history
  43. Configuration menu
    Copy the full SHA
    a0e56b0 View commit details
    Browse the repository at this point in the history
  44. more gitignores

    hoffmansc committed Dec 19, 2019
    Configuration menu
    Copy the full SHA
    0e48ead View commit details
    Browse the repository at this point in the history
  45. Configuration menu
    Copy the full SHA
    0cbc3f4 View commit details
    Browse the repository at this point in the history
  46. docstrings and input is now predict_proba output

    also added score function (compute weighted cost)
    hoffmansc committed Dec 19, 2019
    Configuration menu
    Copy the full SHA
    8be6449 View commit details
    Browse the repository at this point in the history
  47. Configuration menu
    Copy the full SHA
    994bdf0 View commit details
    Browse the repository at this point in the history
  48. Configuration menu
    Copy the full SHA
    372e111 View commit details
    Browse the repository at this point in the history
  49. postprocessor takes DataFrame if use_proba

    added additional tests to check this
    hoffmansc committed Dec 19, 2019
    Configuration menu
    Copy the full SHA
    8d10893 View commit details
    Browse the repository at this point in the history
  50. Configuration menu
    Copy the full SHA
    e0ff2b6 View commit details
    Browse the repository at this point in the history
  51. Configuration menu
    Copy the full SHA
    a2cd77e View commit details
    Browse the repository at this point in the history
  52. remove branch mentions

    hoffmansc committed Dec 19, 2019
    Configuration menu
    Copy the full SHA
    ee7f23c View commit details
    Browse the repository at this point in the history

Commits on Dec 20, 2019

  1. Configuration menu
    Copy the full SHA
    c8154ec View commit details
    Browse the repository at this point in the history

Commits on Dec 28, 2019

  1. Configuration menu
    Copy the full SHA
    7ef94e7 View commit details
    Browse the repository at this point in the history

Commits on Jan 31, 2020

  1. use_proba -> needs_proba

    hoffmansc committed Jan 31, 2020
    Configuration menu
    Copy the full SHA
    c5af647 View commit details
    Browse the repository at this point in the history

Commits on Feb 5, 2020

  1. fixed/renamed/reordered/added some attributes

    * 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
    hoffmansc committed Feb 5, 2020
    Configuration menu
    Copy the full SHA
    042bb12 View commit details
    Browse the repository at this point in the history

Commits on Feb 6, 2020

  1. Configuration menu
    Copy the full SHA
    ff9e70c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    57b2ab5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8fdd6dc View commit details
    Browse the repository at this point in the history

Commits on Feb 19, 2020

  1. various fixes to address PR comments

    * 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
    hoffmansc committed Feb 19, 2020
    Configuration menu
    Copy the full SHA
    2cf455f View commit details
    Browse the repository at this point in the history
  2. added comments to tests

    hoffmansc committed Feb 19, 2020
    Configuration menu
    Copy the full SHA
    789e96b View commit details
    Browse the repository at this point in the history