Description Usage Arguments Details Value Author(s) References
Internal cross-validation function for determing mstop in each mboost model.
1 2 | cv_subsample(object, folds, grid = 1:mstop(object),
cores_cv = detectCores())
|
object |
mboost object |
folds |
A matrix of folds |
grid |
The grid of mstop values used during cross-validation |
Takes an mboost object, a matrix of folds and the grid
of values to be used during cross-validation. Returns
the optimal mstop value. Uses mclapply for
parallelization. The implementation is based
on mboost{cvrisk.mboost}
The optimal mstop value
Ronert Obst
Torsten Hothorn, Peter Buehlmann, Thomas Kneib, Matthias Schmid and Benjamin Hofner (2012). Model-Based Boosting. R package version 2.1-2.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.