[R] RandomForest & memory demand

Torsten Hothorn Torsten.Hothorn at rzmail.uni-erlangen.de
Tue Nov 25 12:25:51 CET 2003


> Hi,
>
> is it correct that i need  ~ 2GB RAM that it's
> possible to work with the default setting
> ntree=500 and a data.frame with 100.000 rows
> and max. 10 columns for training and testing?
>

no. You may parallelize the computations: perform 5 runs of RF with `ntree
= 100' (or less) and save the resulting RF-objects into files.

For prediction, calculate the prediction of each of the 5 objects and
aggregate them. This requires some simple lines of code but will help to
circumvent RAM restrictions.

Best,

Torsten

> P.S.
> It's possible calculate approximate the
> memory demand for different settings with RF?
>
> Many thanks & regards,
> Christian
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
>
>




More information about the R-help mailing list