I am trying to figure out how I can manually define CV folds with rsample.
In mlr3 I can do this:
resampling = rsmp("custom")
resampling$instantiate(task,
train = list(c(1:10, 51:60, 101:110)),
test = list(c(11:20, 61:70, 111:120))
)
So I am looking for something similar in rsample, how is it possible to do this?
Gisli