In caret, see ?trainControl. Use returnResamp = "all" Max
On Wed, Jan 13, 2010 at 9:47 AM, bbslover <dlu...@yeah.net> wrote: > > Hello, > I am learning randomForest, now I want to boxplot mse and mtry using 20 > 5-fold cross-validation(using median value), but I have no a good method to > do it, except a not good method. > > randomforest package itself did not contain cross-validating method, and > caret package contain cross validation method, but how can I get the the all > number of mtry , at the same time corresponding mse? > > > -- > View this message in context: > http://n4.nabble.com/Help-How-can-I-boxplot-mse-and-mtry-using-20-5-fold-cross-validation-tp1013058p1013058.html > Sent from the R help mailing list archive at Nabble.com. > > ______________________________________________ > R-help@r-project.org 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. > -- Max ______________________________________________ R-help@r-project.org 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.