Description Usage Arguments Value
Cross validation function
1 2 3 4 5 6 7 8 9 10 11 |
x |
a data.frame or matrix of predictors |
y |
response vector |
nfolds |
number of folds in cv, set k=nrow(df) to have loo |
folds |
list created with caret::createFolds function |
model_callback |
callback for modeling |
predict_callback |
callback for prediction |
fs_callback |
number of new (training) dataset sampled with replacement from 'training' |
ncores |
if ncores > 1 then it works in parallel |
list a (nested) list of ROCR prediction objects
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.