# load tuning space
lts("classif.rpart.default")
# load tuning space and add parameter
lts("classif.rpart.default", maxdepth = to_tune(1, 15))
# load tuning space and remove parameter
lts("classif.rpart.default", minsplit = NULL)
# load tuning space and overwrite parameter
lts("classif.rpart.default", minsplit = to_tune(32, 128))
# load learner and apply tuning space in one go
lts(lrn("classif.rpart"))
# load learner, overwrite parameter and apply tuning space
lts(lrn("classif.rpart"), minsplit = to_tune(32, 128))
# load multiple tuning spaces
ltss(c("classif.rpart.default", "classif.ranger.default"))
Run the code above in your browser using DataLab