tnr: Syntactic Sugar for Tuner Construction

Description Usage Arguments Value Examples

View source: R/sugar.R

Description

This function complements mlr_tuners with functions in the spirit of mlr3::mlr_sugar.

Usage

1
2
3
tnr(.key, ...)

tnrs(.keys, ...)

Arguments

.key

(character(1))
Key passed to the respective dictionary to retrieve the object.

...

(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.

.keys

(character())
Keys passed to the respective dictionary to retrieve multiple objects.

Value

Examples

1
tnr("random_search")

mlr3tuning documentation built on Jan. 20, 2022, 5:09 p.m.