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

EHN RUS/ROS/make_imbalance accepts dataframe in/out #636

Conversation

glemaitre
Copy link
Member

@glemaitre glemaitre commented Nov 13, 2019

RandomUnderSampling, RandomOverSampling, make_imbalance` accepts Pandas DataFrame in and will output Pandas DataFrame.

@codecov
Copy link

@codecov codecov bot commented Nov 13, 2019

Codecov Report

Merging #636 into master will increase coverage by 0.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #636      +/-   ##
==========================================
+ Coverage   97.93%   97.94%   +0.01%     
==========================================
  Files          83       83              
  Lines        4784     4810      +26     
==========================================
+ Hits         4685     4711      +26     
  Misses         99       99
Impacted Files Coverage Δ
imblearn/datasets/_imbalance.py 86.66% <ø> (-1.57%) ⬇️
imblearn/datasets/tests/test_imbalance.py 100% <100%> (ø) ⬆️
...otype_selection/tests/test_random_under_sampler.py 100% <100%> (ø) ⬆️
...rn/over_sampling/tests/test_random_over_sampler.py 100% <100%> (ø) ⬆️
...ling/_prototype_selection/_random_under_sampler.py 100% <100%> (ø) ⬆️
imblearn/over_sampling/_random_over_sampler.py 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update afbf781...3f3c0b7. Read the comment docs.

@glemaitre glemaitre merged commit 8b61219 into scikit-learn-contrib:master Nov 14, 2019
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant