Description Usage Arguments Value See Also
View source: R/4-3-cross-validation.R
Randomly cut the training set into k-folds and Conduct a K-fold Cross Validation. A list of models can be evaluated in the same function. The performance for each model will be evaluated as required.
1 2 |
trainObj |
A |
k.fold |
The number of folds in the cross validation. |
cvCtrl.list |
A |
cutoff |
Cutoff used when predicting the current fold that not used in training the model, passed to |
unbalance.trt |
A character string that specifies if sampleing techniques should be applied to data with unbalanced numbers for each class. |
final.models |
A |
A cvKfold-class
object.
cutoff.calc
reg
wcls
cvGrid
ensemble
workflow
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.