View source: R/balancedFolds.R
balancedFolds | R Documentation |
Get balanced folds for cross validation, which are used for tuning penalization parameters
balancedFolds(class.column.factor, cross.outer)
class.column.factor |
class labels of length n |
cross.outer |
number of folds |
permutated.cut |
vector of length n, indicating the fold belongs to |
model |
model list
|
Natalia Becker natalia.becker at dkfz.de
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. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.18637/jss.v062.i05")}
EPSGO
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.