rdesc = makeResampleDesc("Bootstrap", iters = 10)
rin = makeResampleInstance(rdesc, task = iris.task)
rdesc = makeResampleDesc("CV", iters = 50)
rin = makeResampleInstance(rdesc, size = nrow(iris))
rin = makeResampleInstance("CV", iters = 10, task = iris.task)
Run the code above in your browser using DataLab