Skip to contents

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

Usage

acqfs(.keys, ...)

Arguments

.keys

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

...

(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

List of AcqFunctions

Examples

acqfs(c("ei", "pi", "cb"))
#> $acq_ei
#> <AcqFunctionEI:acq_ei>
#> Domain:
#> <ParamSet(0)>
#> Empty.
#> Codomain:
#> <Codomain(0)>
#> Empty.
#> Constants:
#> <ParamSet(1)>
#>         id    class lower upper nlevels default  value
#>     <char>   <char> <num> <num>   <num>  <list> <list>
#> 1: epsilon ParamDbl     0   Inf     Inf       0      0
#> 
#> $acq_pi
#> <AcqFunctionPI:acq_pi>
#> Domain:
#> <ParamSet(0)>
#> Empty.
#> Codomain:
#> <Codomain(0)>
#> Empty.
#> 
#> $acq_cb
#> <AcqFunctionCB:acq_cb>
#> Domain:
#> <ParamSet(0)>
#> Empty.
#> Codomain:
#> <Codomain(0)>
#> Empty.
#> Constants:
#> <ParamSet(1)>
#>        id    class lower upper nlevels default  value
#>    <char>   <char> <num> <num>   <num>  <list> <list>
#> 1: lambda ParamDbl     0   Inf     Inf       2      2
#>