| show,LeakSplits-method | R Documentation |
Prints fold counts, sizes, and hash metadata for quick inspection.
## S4 method for signature 'LeakSplits'
show(object)
object |
LeakSplits object. |
No return value, called for side effects (prints a summary to the console showing mode, fold count, repeats, outcome, stratification status, nested status, per-fold train/test sizes, and the reproducibility hash).
df <- data.frame(
subject = rep(1:10, each = 2),
outcome = rbinom(20, 1, 0.5),
x1 = rnorm(20),
x2 = rnorm(20)
)
splits <- make_split_plan(df, outcome = "outcome",
mode = "subject_grouped", group = "subject", v = 5)
show(splits)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.