[R] Cforest and Random Forest memory use

From: Matthew OKane <mlokane_at_gmail.com>
Date: Thu, 10 Jun 2010 11:36:40 +0100


Hi all,

I'm having great trouble working with the Cforest (from the party package) and Random forest functions. Large data set seem to create very large model objects which means I cannot work with the number of observations I need to, despite running on a large 8GB 64-bit box. I would like the object to only hold the trees themselves as I intend to export them out of R. Is there anyway, either through options or editing out code and recompiling them, I can reduce their footprint?

I've had a look at the cforest code and the culprit is the 'emsemble' area of the object. I suspect this part of the object contains something related to the number of observations (I have savesplitstats set to FALSE so this shouldn't be the issue).

Thanks,
Matt

        [[alternative HTML version deleted]]



R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Thu 10 Jun 2010 - 10:41:02 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 11 Jun 2010 - 12:30:28 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive