View source: R/vimpute_tune_control.R
| vimpute_search_space | R Documentation |
Returns 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)
learner_id |
Single string: an mlr3 learner id used by vimpute's
built-in methods, e.g. |
task |
An mlr3 task (its number of rows scales the bounds and the budget). |
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).
vimpute_tune_control(), register_vimpute_method()
## Not run:
task <- mlr3::TaskRegr$new("t", backend = data.frame(y = 1:20, x = 1:20),
target = "y")
vimpute_search_space("regr.ranger", task)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.