Skip to content
Prev 286497 / 398502 Next

How to deal with missing values when using Random Forrest

Hi,

You can set na.action=na.roughfix which fills NAs with the mean or
mode of the missing variable.

Other option is to impute missing values using rfImpute, then run
randomForest on the complete data set.

Weidong Gu
On Sat, Feb 25, 2012 at 6:24 PM, kevin123 <kevincorry123 at gmail.com> wrote: