October 2017
Beginner to intermediate
572 pages
26h 1m
English
In the preceding example, we have seen how to use the LOOCV by using the train function, which is a part of the caret package. This function can be used to train a model on basis of the parameters provided. It will do all the work of sampling and finding the performance and gives the summarized result. In the preceding recipe, we have used LOOCV as trainControl and the method as Naive Bayes specified as nb.
Read now
Unlock full access