tnr | R Documentation |
Functions to retrieve objects, set parameters and assign to fields in one go.
Relies on mlr3misc::dictionary_sugar_get()
to extract objects from the respective mlr3misc::Dictionary:
tnr()
for a Tuner from mlr_tuners.
tnrs()
for a list of Tuners from mlr_tuners.
trm()
for a bbotk::Terminator from mlr_terminators.
trms()
for a list of Terminators from mlr_terminators.
tnr(.key, ...)
tnrs(.keys, ...)
.key |
( |
... |
(any) |
.keys |
( |
R6::R6Class object of the respective type, or a list of R6::R6Class objects for the plural versions.
# random search tuner with batch size of 5
tnr("random_search", batch_size = 5)
# run time terminator with 20 seconds
trm("run_time", secs = 20)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.