Description Usage Arguments Value Author(s) See Also
Perform cross validation on a preditive model, this method support both caret models and PredictiveModels
1 2 3 | crossValidatePredictiveModel(featureData, responseData,
model, numFolds = 5, trControl = defaultTrainControl(),
...)
|
featureData |
|
responseData |
|
method |
either an instance of PredictiveModel or a string holding the name of one of the machine learning methods that caret supports |
numFolds |
defaults to 5 |
trControl |
defaults to defaultTrainControl |
a list of PredictiveModelPerformance one per fold
Adam Margolin
defaultTrainControl
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.