Hi,

I am using the Random Forest package to classify observations into one of two 
classes. My data is unbalanced with the minority class accounting for 7% of 
total data set.

I have heard the 10-Fold Cross validation can help me with improving 
classification. But being new at most of this it's not something I can do from 
scratch on my own. So I have spent all this morning trying to find a good 
example script of 10-Fold Cross-validation and RandomForest where the ratio of 
classes is maintained. I have done multiple google searches. The only thing I 
came across was the ipred package and errorest. But when I was going through 
the?errorest examples I did not see examples of actual classification output 
only error rates.  So I turn to you guys. Do you have a script I can refer to 
and learn off of to accomplish what I need to accomplish?

Dan


        [[alternative HTML version deleted]]

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to