-
-
Notifications
You must be signed in to change notification settings - Fork 25.8k
Integration and test cases for RandomForest subsampling #9645
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
Integration and test cases for RandomForest subsampling #9645
Conversation
Thanks. Will review soon! |
Doctests are failing, because you've not updated the set of parameters shown when a
Flake8 is also failing:
|
I don't think distinguishing between float and int on type alone is generally a good idea. I'd rather make the default 'all' and make 1.0 raise an error. Silly question: should the sampling be weighted by sample_weight? |
This seems quite related to the class-weight based resampling, which there is a PR for somewhere else? That's a strategy that's useful in nearly all cases, so I might want to give that priority? |
I'm not sure what you're referring to, @amueller... This is taking over a stalled PR. |
I was talking about #8732. |
This work was based in #5963.
Thanks @DrDub