mlr3tuning (version 0.1.0)

tnr: Syntactic Sugar for Tuner and Terminator Construction

Description

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

Usage

tnr(.key, ...)

term(.key, ...)

Arguments

.key

:: character(1) Key passed to the respective mlr3misc::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() for more details.

Value

Tuner for tnr() and Terminator for term().

Examples

Run this code
# NOT RUN {
term("evals", n_evals = 10)
tnr("random_search")
# }

Run the code above in your browser using DataCamp Workspace