-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
Subsampling rows with replacement #1038
Comments
Related issue #883. |
|
It is not trivial to have this in the core algorithm. |
Good hint. I was actually not aware that case weights could be updated during training. The Poisson distribution with mean 1 will provide an efficient and approximately correct weight distribution. |
I am reopening this as
|
Closed in favor of being in #2302. We decided to keep all feature requests in one place. Welcome to contribute this feature! Please re-open this issue (or post a comment if you are not a topic starter) if you are actively working on implementing this feature. |
Hi @guolinke,
I understand that this is an old and closed issue, but may I ask you to elaborate on this solution a little bit more? How can one change sample weights for each tree in the random forest? One solution could be using callbacks I suppose, is it the only way? |
hi @rdbuf , yeah, callback is the most convenient way to do this, I think. |
I see, thanks :) |
As far as I understand, the random forest (rf) mode differs from a genuine rf in three key aspects:
How realistic would it be to add a "bagging_with_replacement" option? If set to True, then the rows would be subsampled with replacement, mimicking the idea of bagging. This might even be an interesting option for non-rf application.
The text was updated successfully, but these errors were encountered: