Skip to contents

This function complements mlr_acqfunctions with functions in the spirit of mlr_sugar from mlr3.

Usage

acqf(.key, ...)

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.

Value

AcqFunction

Examples

acqf("ei")
#> 
#> ── <AcqFunctionEI> ─────────────────────────────────────────────────────────────
#> • Domain:
#> Empty data.table (0 rows and 5 cols): id,class,lower,upper,nlevels
#> • Codomain:
#> Empty data.table (0 rows and 4 cols): id,class,lower,upper
#> • Constants:
#>         id    class lower upper nlevels
#>     <char>   <char> <num> <num>   <num>
#> 1: epsilon ParamDbl     0   Inf     Inf