R/vimpute_tune_control.R
vimpute_search_space.RdReturns the search space and default evaluation budget that
vimpute(tune = TRUE) uses for one of its built-in learners. The bounds
and budgets scale with the task size. Useful as the starting point for a
search_space hook in register_vimpute_method() and for inspecting
what the tuner explores.
vimpute_search_space(learner_id, task)A list with elements space (a paradox::ParamSet, or NULL
if the learner has no built-in space) and n_evals (the default
evaluation budget).
if (FALSE) { # \dontrun{
task <- mlr3::TaskRegr$new("t", backend = data.frame(y = 1:20, x = 1:20),
target = "y")
vimpute_search_space("regr.ranger", task)
} # }