In the original version of breiman random forest  n samples with
replacement are selected to build each tree.
So each tree should be build with the n sample where n is the total number
of samples. (they are chosen with replacement tough)

I do not know if sklearn follows this standard.

I hope this can help


Message: 4

> Date: Wed, 11 Mar 2015 15:22:29 +0000
> From: "Pagliari, Roberto" <rpagli...@appcomsci.com>
> Subject: [Scikit-learn-general] random forests - number of samples
> To: "scikit-learn-general@lists.sourceforge.net"
>         <scikit-learn-general@lists.sourceforge.net>
> Message-ID:
>         <
> 7f8b451e34fcdb459e934b4f50451096848...@rrc-ats-exmb2.ats.atsinnovate.com>
>
> Content-Type: text/plain; charset="iso-8859-1"
>
> How many samples does a single tree of a random use? Or does it use all
> samples?
>
>
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Scikit-learn-general mailing list
Scikit-learn-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to