Displaying 2 results from an estimated 2 matches for "proximi".
Did you mean:
proxim
2004 Apr 05
2
Can't seem to finish a randomForest.... Just goes and goes!
...for a first shot: remove
this variable from the learning sample).
Best,
Torsten
> DV seems to need identifying as a factor to force class trees over
> regresssion:
>
> >Mydata$V46<-as.factor(Mydata$V46)
> >Myforest.rf<-randomForest(V46~.,data=Mydata,ntrees=100,mtry=7,proximi
> >ties=FALSE
> , importance=FALSE)
>
> 5 hours later, R.bin was still taking up 75% of my processor. When
> I've tried this with larger data, I get errors referring to the buffer
> (sorry, not in front of me right now).
>
> Any ideas on this? The data don't se...
2004 Apr 05
3
Can't seem to finish a randomForest.... Just goes and goe s!
When you have fairly large data, _do not use the formula interface_, as a
couple of copies of the data would be made. Try simply:
Myforest.rf <- randomForest(Mydata[, -46], Mydata[,46],
ntrees=100, mtry=7)
[Note that you don't need to set proximity (not proximities) or importance
to FALSE, as that's the default already.]
You might also want to use do.trace=1 to see if trees are actually being
grown (assuming there's no output buffering as in Rgui on Windows, otherwise
you'll probably want to turn that off).
I had run randomFor...