balancedFolds {c060} | R Documentation |
Function producing stratified/ balanced folds for cross validation
Description
Get balanced folds for cross validation, which are used for tuning penalization parameters
Usage
balancedFolds(class.column.factor, cross.outer)
Arguments
class.column.factor |
class labels of length n |
cross.outer |
number of folds |
Value
permutated.cut |
vector of length n, indicating the fold belongs to |
model |
model list
|
Author(s)
Natalia Becker natalia.becker at dkfz.de
References
Sill M., Hielscher T., Becker N. and Zucknick M. (2014), c060: Extended Inference with Lasso and Elastic-Net Regularized Cox and Generalized Linear Models, Journal of Statistical Software, Volume 62(5), pages 1–22. doi:10.18637/jss.v062.i05
See Also
[Package c060 version 0.3-0 Index]