Skip to contents

The ContextBatchFSelect allows CallbackBatchFSelects to access and modify data while a batch of feature sets is evaluated. See the section on active bindings for a list of modifiable objects. See callback_batch_fselect() for a list of stages that access ContextBatchFSelect.

Details

This context is re-created each time a new batch of feature sets is evaluated. Changes to $objective_fselect, $design $benchmark_result are discarded after the function is finished. Modification on the data table in $aggregated_performance are written to the archive. Any number of columns can be added.

Super classes

mlr3misc::Context -> bbotk::ContextBatch -> ContextBatchFSelect

Active bindings

xss

(list())
The feature sets of the latest batch.

design

(data.table::data.table)
The benchmark design of the latest batch.

benchmark_result

(mlr3::BenchmarkResult)
The benchmark result of the latest batch.

aggregated_performance

(data.table::data.table)
Aggregated performance scores and training time of the latest batch. This data table is passed to the archive. A callback can add additional columns which are also written to the archive.

Methods

Inherited methods


Method clone()

The objects of this class are cloneable with this method.

Usage

ContextBatchFSelect$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.