Learn R Programming

mlr3mbo (version 0.2.9)

mlr_result_assigners_archive: Result Assigner Based on the Archive

Description

Result assigner that chooses the final point(s) based on all evaluations in the bbotk::Archive. This mimics the default behavior of any bbotk::Optimizer.

Arguments

Super class

mlr3mbo::ResultAssigner -> ResultAssignerArchive

Active bindings

packages

(character())
Set of required packages. A warning is signaled if at least one of the packages is not installed, but loaded (not attached) later on-demand via requireNamespace().

Methods

Inherited methods


Method new()

Creates a new instance of this R6 class.

Usage

ResultAssignerArchive$new()


Method assign_result()

Assigns the result, i.e., the final point(s) to the instance.

Usage

ResultAssignerArchive$assign_result(instance)

Arguments

instance

(bbotk::OptimInstanceBatchSingleCrit | bbotk::OptimInstanceBatchMultiCrit |bbotk::OptimInstanceAsyncSingleCrit | bbotk::OptimInstanceAsyncMultiCrit)
The bbotk::OptimInstance the final result should be assigned to.


Method clone()

The objects of this class are cloneable with this method.

Usage

ResultAssignerArchive$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.

See Also

Other Result Assigner: ResultAssigner, mlr_result_assigners, mlr_result_assigners_surrogate

Examples

Run this code
result_assigner = ras("archive")

Run the code above in your browser using DataLab