generate.fold.ids | R Documentation |
Randomly generate fold.ids to be used for reproducibility in '$run.cv.spear(...)'. See 'method' for different ways to generate fold.ids (for cross-validation).
generate.fold.ids(method = "balanced")
method |
How to generate the fold ids? 'method = "balanced"' (default) will try to achieve maximum balance amongst classes in 'Y' (when 'family = "ordinal"' or 'family = "multinomial"'). 'method = "random"' will randomly assign a number 1-'num.folds'. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.