View source: R/021-validation-program.R
| grouped_folds | R Documentation |
Create grouped cross-validation folds
grouped_folds(data, group = c("participant_id"), v = 5L, seed = 1L)
data |
Data frame. |
group |
Grouping columns that must not cross folds. |
v |
Number of folds. |
seed |
Random seed. |
An 'eye_grouped_folds' object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.