[R] Train and testing in caret package

Neha gupta neh@@bo|ogn@90 @end|ng |rom gm@||@com
Sun Nov 3 18:30:28 CET 2019


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]]



More information about the R-help mailing list