ContextAsyncFSelect: Asynchronous Feature Selection Context

ContextAsyncFSelectR Documentation

Asynchronous Feature Selection Context

Description

A CallbackAsyncFSelect accesses and modifies data during the optimization via the ContextAsyncFSelect. See the section on active bindings for a list of modifiable objects. See callback_async_fselect() for a list of stages that access ContextAsyncFSelect.

Details

Changes to ⁠$instance⁠ and ⁠$optimizer⁠ in the stages executed on the workers are not reflected in the main process.

Super classes

mlr3misc::Context -> bbotk::ContextAsync -> ContextAsyncFSelect

Public fields

auto_fselector

(AutoFSelector)
The AutoFSelector instance.

Active bindings

xs_objective

(list())
The feature subset currently evaluated.

resample_result

(mlr3::BenchmarkResult)
The resample result of the feature subset currently evaluated.

aggregated_performance

(list())
Aggregated performance scores and training time of the evaluated feature subset. This list is passed to the archive. A callback can add additional elements which are also written to the archive.

result_feature_set

(character())
The feature set passed to instance$assign_result().

Methods

Public methods

Inherited methods

Method clone()

The objects of this class are cloneable with this method.

Usage
ContextAsyncFSelect$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.


mlr-org/mlr3fselect documentation built on July 5, 2025, 3:22 a.m.