scikit-learn-contrib / imbalanced-learn

A Python Package to Tackle the Curse of Imbalanced Datasets in Machine Learning
https://imbalanced-learn.org
MIT License
6.85k stars 1.29k forks source link

MAINT add support for dataframe in parameter validation framework #957

Closed glemaitre closed 1 year ago

glemaitre commented 1 year ago

Add support for dataframe in parameter validation framework.

codecov[bot] commented 1 year ago

Codecov Report

Base: 96.06% // Head: 96.15% // Increases project coverage by +0.09% :tada:

Coverage data is based on head (573a016) compared to base (a84b63f). Patch coverage: 94.11% of modified lines in pull request are covered.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #957 +/- ## ========================================== + Coverage 96.06% 96.15% +0.09% ========================================== Files 99 99 Lines 6879 6892 +13 Branches 992 994 +2 ========================================== + Hits 6608 6627 +19 + Misses 167 163 -4 + Partials 104 102 -2 ``` | [Impacted Files](https://codecov.io/gh/scikit-learn-contrib/imbalanced-learn/pull/957?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=scikit-learn-contrib) | Coverage Δ | | |---|---|---| | [imblearn/utils/\_param\_validation.py](https://codecov.io/gh/scikit-learn-contrib/imbalanced-learn/pull/957/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=scikit-learn-contrib#diff-aW1ibGVhcm4vdXRpbHMvX3BhcmFtX3ZhbGlkYXRpb24ucHk=) | `96.77% <90.90%> (+1.15%)` | :arrow_up: | | [imblearn/utils/tests/test\_param\_validation.py](https://codecov.io/gh/scikit-learn-contrib/imbalanced-learn/pull/957/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=scikit-learn-contrib#diff-aW1ibGVhcm4vdXRpbHMvdGVzdHMvdGVzdF9wYXJhbV92YWxpZGF0aW9uLnB5) | `99.53% <100.00%> (+0.01%)` | :arrow_up: | | [imblearn/utils/fixes.py](https://codecov.io/gh/scikit-learn-contrib/imbalanced-learn/pull/957/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=scikit-learn-contrib#diff-aW1ibGVhcm4vdXRpbHMvZml4ZXMucHk=) | `100.00% <0.00%> (+12.50%)` | :arrow_up: | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=scikit-learn-contrib). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=scikit-learn-contrib)

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.