mlr3tuning (version 0.2.0)

TunerFromOptimizer: TunerFromOptimizer

Description

Internally used to transform bbotk::Optimizer to Tuner.

Arguments

Super class

mlr3tuning::Tuner -> TunerFromOptimizer

Methods

Public methods

Method new()

Creates a new instance of this R6 class.

Usage

TunerFromOptimizer$new(optimizer)

Arguments

optimizer

bbotk::Optimizer Optimizer that is called.

Method optimize()

Performs the tuning on a TuningInstanceSingleCrit / TuningInstanceMultiCrit until termination. The single evaluations and the final results will be written into the bbotk::Archive that resides in the TuningInstanceSingleCrit/TuningInstanceMultiCrit. The final result is returned.

Usage

TunerFromOptimizer$optimize(inst)

Arguments

inst

(TuningInstanceSingleCrit | TuningInstanceMultiCrit).

Returns

data.table::data.table.

Method clone()

The objects of this class are cloneable with this method.

Usage

TunerFromOptimizer$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.