Skip to content

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

Merged
glemaitre merged 6 commits intoscikit-learn-contrib:masterfrom
glemaitre:is/support_dataframe_random_sampling
Nov 14, 2019
Merged

EHN RUS/ROS/make_imbalance accepts dataframe in/out#636
glemaitre merged 6 commits intoscikit-learn-contrib:masterfrom
glemaitre:is/support_dataframe_random_sampling

Conversation

@glemaitre
Copy link
Member

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

@codecov
Copy link

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
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.

1 participant