R: Dictionary of Optimizer

mlr_optimizers {bbotk} | R Documentation

## Dictionary of Optimizer

### Description

A simple mlr3misc::Dictionary storing objects of class Optimizer. Each optimizer has an associated help page, see `mlr_optimizer_[id]`.

This dictionary can get populated with additional optimizer by add-on packages.

For a more convenient way to retrieve and construct optimizer, see `opt()`/`opts()`.

### Format

R6::R6Class object inheriting from mlr3misc::Dictionary.

### Methods

See mlr3misc::Dictionary.

### S3 methods

- `as.data.table(dict, ..., objects = FALSE)`
  mlr3misc::Dictionary -> `data.table::data.table()`
  Returns a `data.table::data.table()` with fields "key", "label", "param_classes", "properties" and "packages" as columns. If `objects` is set to `TRUE`, the constructed objects are returned in the list column named `object`.

### See Also

Sugar functions: `opt()`, `opts()`

### Examples

    as.data.table(mlr_optimizers)
    mlr_optimizers$get("random_search")
    opt("random_search")

[Package bbotk version 0.5.3 Index]