powered by
This function complements mlr_optimizers with functions in the spirit of mlr_sugar from mlr3.
mlr_sugar
opt(.key, ...)opts(.keys, ...)
opts(.keys, ...)
(character(1)) Key passed to the respective dictionary to retrieve the object.
character(1)
(named list()) Named arguments passed to the constructor, to be set as parameters in the paradox::ParamSet, or to be set as public field. See mlr3misc::dictionary_sugar_get() for more details.
list()
mlr3misc::dictionary_sugar_get()
(character()) Keys passed to the respective dictionary to retrieve multiple objects.
character()
Optimizer for opt().
opt()
list of Optimizer for opts().
opts()
# NOT RUN { opt("random_search", batch_size = 10) # }
Run the code above in your browser using DataLab