Re: [Scikit-learn-general] Combining Random Forests

2013-01-10 Thread Olivier Grisel
2013/1/10 Gael Varoquaux gael.varoqu...@normalesup.org: On Thu, Jan 10, 2013 at 03:57:23PM +1100, Juan Nunez-Iglesias wrote: More precisely, I think David wants a function that will take a set of RFs and return a new classifier object that does all the weighted averaging Andy suggested for

Re: [Scikit-learn-general] Combining Random Forests

2013-01-10 Thread David Broyles
Thanks for the help, guys. Indeed it's easy enough to implement a class for combining the classifiers in a model-specific way. Thanks for the note on the oob-score! On Thu, Jan 10, 2013 at 2:28 AM, Olivier Grisel olivier.gri...@ensta.orgwrote: 2013/1/10 Gael Varoquaux

Re: [Scikit-learn-general] Combining Random Forests

2013-01-09 Thread Juan Nunez-Iglesias
More precisely, I think David wants a function that will take a set of RFs and return a new classifier object that does all the weighted averaging Andy suggested for you transparently. And the answer is no, sklearn doesn't have such a function. =) As an aside, the OOB values will no longer be

Re: [Scikit-learn-general] Combining Random Forests

2013-01-09 Thread Gael Varoquaux
On Thu, Jan 10, 2013 at 03:57:23PM +1100, Juan Nunez-Iglesias wrote: More precisely, I think David wants a function that will take a set of RFs and return a new classifier object that does all the weighted averaging Andy suggested for you transparently. And the answer is no, sklearn doesn't

Re: [Scikit-learn-general] Combining Random Forests

2012-12-31 Thread Andreas Mueller
Hi David. I am not really familiar with R, but you can just combine several forests by averaging their output. Ideally you should weight their output by the number of trees in each forest. Best, Andy On 12/20/2012 04:17 AM, David Broyles wrote: Hi, I'm new to scikit-learn. Curious if