[RFC] Refactor `ratio` #411
Closed
Labels
Comments
@amueller @chkoar @jorisvandenbossche |
I don't really know where and how this is used to give feedback, I think. |
are we talking about this ratio? |
yep |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ratio
is still a bit of a weird parameters. Here is a proposal for further development:float
asratio
which is a valid parameter withbinary
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.ratio
type.str
should be accepted butdict
should be replaced by alist
since we cannot select how many sample to select. Alsofloat
would not be accepted for the exact same reason.ratio
should also be renamed. My proposalsampling_target
?The text was updated successfully, but these errors were encountered: