Description Usage Arguments Value Author(s)
This function extracts the cross-validation predictions from a caret model trained with cross-validation. If grid-search is used to optimize the hyperparamter values, the function GetCVPreds extracts the cross-validation predictions corresponding to the optimal hyperparameter values.
1 | GetCVPreds(model)
|
model |
A caret model trained with cross-validation. |
A data frame containing the observed and the predicted values for the datapoints in the training set, their index according to the training set, the optimal hyperparameter values, and the fold index.
Isidro Cortes-Ciriano <isidrolauscher@gmail.com>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.