Description Usage Arguments Value
View source: R/crossValidation.R
Utility function to create predictions for a given fold and set of variables
1 2 3 |
trainingData |
A data frame of training data |
trainingTargets |
A logical vector of training class labels |
testData |
A data frame of test data |
models |
A vector of caret::train models |
tuneKFolds |
number of folds for parameter tuning |
tuneRepeats |
number of repeats for parameter tuning |
tuneLength |
number of parameters to try when tuning |
keep |
numeric vector of column indices to keep in training and test data |
PCA |
apply PCA? |
verbose |
verbose output? |
heatmap |
plot a heatmap before training models? |
extraTrainingData |
additional training data |
extraTestData |
additional test data |
predictions for this fold
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.