# NOT RUN {
learner = lrn("classif.rpart", cp = to_tune(1e-04, 1e-1, logscale = TRUE))
at = auto_tuner(
method = "grid_search",
learner = learner,
resampling = rsmp ("holdout"),
measure = msr("classif.ce"),
term_evals = 4)
resampling_outer = rsmp("cv", folds = 2)
rr = resample(tsk("iris"), at, resampling_outer, store_models = TRUE)
extract_inner_tuning_results(rr)
# }
Run the code above in your browser using DataLab