Description Usage Arguments Value
View source: R/crossValidation.R
Run a set of classification models on input training, test data sets
1 2 | ClassifierModels(data.train, targetValues, data.test, models, kFolds = 2,
repeats = 5, tuneLength = 5, verbose = F)
|
data.train |
a data frame of training data |
targetValues |
a logical vector |
data.test |
a data frame of test data (columns must match |
models |
a list of caret::train models to run |
kFolds |
number of folds for model selection within each fold |
repeats |
number of repeats for model selection within each fold |
tuneLength |
number of parameters to tune |
verbose |
verbose output if TRUE |
a data frame containing prediction probabilities for each classification algorithm.
These are the predicted probabililty of targetValues==TRUE
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.