Skip to content
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

RandomForest: Different subsampling per tree for faster training #10668

Closed
labodyn opened this issue Feb 21, 2018 · 1 comment
Closed

RandomForest: Different subsampling per tree for faster training #10668

labodyn opened this issue Feb 21, 2018 · 1 comment

Comments

@labodyn
Copy link

labodyn commented Feb 21, 2018

Description: Feature request for RandomForest classes.

On very big data, training data must be subsampled to keep training times reasonable (Training times grow faster than O(n_samples)). However, this throws away a lot of the data. A smarter approach would be to use a different subsampling per tree, using an extra parameter which controls the fraction of number of observations used during training. This way more data can be used while keeping training times low.

I did a fast implementation which does just that and found that same prediction performances can be achieved with 1/3 of the training time this way.

Versions

Linux-4.13.0-32-generic-x86_64-with-debian-stretch-sid
Python 3.6.3 |Anaconda, Inc.| (default, Oct 27 2017, 19:41:01)
[GCC 7.2.0]
NumPy 1.13.3
SciPy 0.19.1
Scikit-Learn 0.19.1

@jnothman
Copy link
Member

jnothman commented Feb 21, 2018 via email

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

No branches or pull requests

2 participants