Displaying 1 result from an estimated 1 matches for "zsignal".
Did you mean:
signal
2010 May 25
1
Need Help! Poor performance about randomForest for large data
....
It turns out that: when ntree sets to the default value (500), it says "can
not allocate a vector of 1.1 GB size"; And when I set ntree to be a very
small number like 10, it will run for hours.
I use the (x,y) rather than the (formula,data).
My code:
> sdata<-read.csv("D://zSignal Dump//XXXX//XXXX.csv")
> sdata1<-subset(sdata,select=-38)
> sdata2<-subset(sdata,select=38)
> res<-randomForest(x=sdata1,y=sdata2,ntrees=10)
Am I doing anything wrong? Or do you have other suggestions? Are there any
other packages to do the same thing?
I will appreciate if...