[R] missing value replacement for test data in random forest
Zhu Ailing
zhuailing at nus.edu.sg
Wed Mar 29 11:40:39 CEST 2006
HI,
I have data set of 30000 record with 162 features. when I try to fill out the missing values using rfImpute(), I got kicked out becz:
tra.imputed <- rfImpute(tra.na[,-163],tra.na[,163],iter=5,ntree=10)
Error in matrix(0, n, n) : cannot allocate vector of length 900000000
I wonder how to set the parameters(nrnn) for computing the PROXIMITY.
thanks
iris
-----Original Message-----
From: Zhu Ailing
Sent: Wed 3/29/2006 11:41 AM
To: 'r-help at lists.R-project.org'
Cc:
Subject: missing value replacement for test data in random forest
Hi,
In R, how to do missing value replacement for test data in randome forest in the way Breiman decribed.
thanks in advance
iris
More information about the R-help
mailing list