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

[RFC] Refactor `ratio` #411

Closed
glemaitre opened this Issue Mar 1, 2018 · 4 comments

Comments

Projects
None yet
3 participants
@glemaitre
Member

glemaitre commented Mar 1, 2018

ratio is still a bit of a weird parameters. Here is a proposal for further development:

  • remove the deprecation regarding float as ratio which is a valid parameter with binary target.
  • 'all' in over-sampling should be changed to 'not majority'. This is currently doing the same process but this is weird for the user.
  • cleaning methods should have their own ratio type. str should be accepted but dict should be replaced by a list since we cannot select how many sample to select. Also float would not be accepted for the exact same reason.

ratio should also be renamed. My proposal sampling_target?

@glemaitre glemaitre changed the title from Refactor `ratio` to [RFC] Refactor `ratio` Mar 1, 2018

@glemaitre glemaitre added the API label Mar 1, 2018

@glemaitre

This comment has been minimized.

Member

glemaitre commented Mar 1, 2018

@amueller @chkoar @jorisvandenbossche
Any remarks is welcomed.

@amueller

This comment has been minimized.

Member

amueller commented Mar 1, 2018

I don't really know where and how this is used to give feedback, I think.

@massich

This comment has been minimized.

Contributor

massich commented Mar 19, 2018

are we talking about this ratio?

@glemaitre

This comment has been minimized.

Member

glemaitre commented Mar 19, 2018

yep

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment