bbslover
2010-Jan-13 14:47 UTC
[R] Help, How can I boxplot mse and mtry using 20 5-fold cross-validation?
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.
Max Kuhn
2010-Jan-13 18:34 UTC
[R] Help, How can I boxplot mse and mtry using 20 5-fold cross-validation?
In caret, see ?trainControl. Use returnResamp = "all" Max On Wed, Jan 13, 2010 at 9:47 AM, bbslover <dluthm at 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 at 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