Additional parameters sent to theta.fit (e.g. search, mpar, scale, transform)
Value
Returns a list with:
$cv.fit -- all predictions (factor iftask="class", matrix iftask="prob"or numeric iftask="reg");
$mpar -- matrix with the mpar for each fold;
$attributes -- the selected attributes for each fold if a feature selection algorithm was adopted;
$ngroup -- the number of folds;
$leave.out -- the computed size for each fold (=nrow(data)/ngroup);
$groups -- vector list with the indexes of each group;
$call -- the call of this function;
Details
Standard k-fold cross-validation but adopted for rminer models.
For classification tasks ("class" or "prob") a stratified sampling is used (the class distributions are identical for each fold).
References
Check the crossval function of the bootstrap library.