[R] Train and testing in caret package

Patrick (Malone Quantitative) m@|one @end|ng |rom m@|onequ@nt|t@t|ve@com
Mon Nov 4 18:50:42 CET 2019


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 using 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 using 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.



More information about the R-help mailing list