Nothing
test_that("folds can be printed", {
task = test_make_twoclass_task()
rsp = rsmp("repeated_spcv_coords", folds = 3, repeats = 5)
rsp$instantiate(task)
expect_equal(rsp$folds(4:8), c(1, 2, 3, 1, 2))
})
test_that("reps can be printed", {
task = test_make_twoclass_task()
rsp = rsmp("repeated_spcv_coords", folds = 3, repeats = 5)
rsp$instantiate(task)
expect_equal(rsp$repeats(4:8), c(2, 2, 2, 3, 3))
})
test_that("resampling iterations equals folds * repeats", {
task = test_make_twoclass_task()
rsp = rsmp("repeated_spcv_coords", folds = 3, repeats = 2)
rsp$instantiate(task)
expect_equal(rsp$iters, 6)
})
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.