Hello to all. I am new to R language, just read few tutorials. I have a question, we use trainControl and train function for k fold cross validation and we don't need to predict the data separately using predict function for test data. But how when we have a separate test set? How can we use the trainControl function, what to write in the method instead of repeated cv, how to predict data on test set? Thanks for your understanding [[alternative HTML version deleted]]
Patrick (Malone Quantitative)
2019-Nov-04 17:50 UTC
[R] Train and testing in caret package
This isn't an R language question, but there are many tutorials, blogs, and videos on the web that address this sort of thing, in addition to StackExchange. On Mon, Nov 4, 2019 at 11:58 AM Neha gupta <neha.bologna90 at gmail.com> wrote:> > Hello to all. I am new to R language, just read few tutorials. > > I have a question, we use trainControl and train function for k fold cross > validation and we don't need to predict the data separately using predict > function for test data. > > But how when we have a separate test set? How can we use the trainControl > function, what to write in the method instead of repeated cv, how to > predict data on test set? > Thanks for your understanding > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see > 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.