Hi Sebastian,
The bootstrap sample size is always the same as the input sample size. If
you feel up to it, a pull request updating the documentation would probably
be quite welcome.
-Jeff
On Mon, Jul 6, 2015 at 12:21 PM, Sebastian Raschka <se.rasc...@gmail.com>
wrote:
> Hi, all,
>
> I am wondering what the sample size of the bootstrap samples are in the
> RandomForestClassifier/Regressor (if bootstrap=True, default setting). From
> the documentation
>
>
> http://scikit-learn.org/stable/modules/generated/sklearn.ensemble.RandomForestClassifier.html#sklearn.ensemble.RandomForestClassifier
> :
> > [...] that fits a number of decision tree classifiers on various
> sub-samples of the dataset
>
> and
>
> http://scikit-learn.org/stable/modules/ensemble.html#random-forests:
> > [...] each tree in the ensemble is built from a sample drawn with
> replacement (i.e., a bootstrap sample) from the training set.
>
> Is the sample size of the bootstrap sample equal to the "original" sample
> size in the training set? If not, can it be controlled somehow? Maybe a
> short note could be added to the documentation for clarity.
>
> Best,
> Sebastian
>
>
>
> ------------------------------------------------------------------------------
> Don't Limit Your Business. Reach for the Cloud.
> GigeNET's Cloud Solutions provide you with the tools and support that
> you need to offload your IT needs and focus on growing your business.
> Configured For All Businesses. Start Your Cloud Today.
> https://www.gigenetcloud.com/
> _______________________________________________
> Scikit-learn-general mailing list
> Scikit-learn-general@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
>
------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
Scikit-learn-general mailing list
Scikit-learn-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general