Performing cross-validation with the caret package

The caret (classification and regression training) package contains many functions in regard to the training process for regression and classification problems. Similar to the e1071 package, it also contains a function to perform the k-fold cross validation. In this recipe, we will demonstrate how to perform the k-fold cross validation using the caret package.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset