Message-ID: <20081226120507.7E8DC4AC32@mail.neusoft.edu.cn>
Date: 2008-12-26T12:10:15Z
From: wanghong
Subject: about randomForest
hello,
I want to use randomForest to classify a matrix which is 331030?42,the last column is class signal.I use ?
Memebers.rf<-randomForest(class~.,data=Memebers,proximity=TRUE,mtry=6,ntree=200) which told me" the error is matrix(0,n,n) set too elements"
then I use:
Memebers.rf<-randomForest(class~.,data=Memebers,importance=TRUE,proximity=TRUE) which told me"the error is na.fail.default(list(class = c(17L, 17L, 17L, 29L, 29L, 29L, :
missing values in object
"
what's wrong with it .Thanks a lot
????????wanghong
????????wanghong at neusoft.edu.cn
??????????2008-12-26