Skip to contents

Specialized bbotk::CallbackAsync for asynchronous feature selection. Callbacks allow to customize the behavior of processes in mlr3fselect. The callback_async_fselect() function creates a CallbackAsyncFSelect. Predefined callbacks are stored in the dictionary mlr_callbacks and can be retrieved with clbk(). For more information on feature selection callbacks see callback_async_fselect().

Super classes

mlr3misc::Callback -> bbotk::CallbackAsync -> CallbackAsyncFSelect

Public fields

on_eval_after_xs

(function())
Stage called after xs is passed. Called in ObjectiveFSelectAsync$eval().

on_resample_begin

(function())
Stage called at the beginning of an evaluation. Called in workhorse() (internal).

on_resample_before_train

(function())
Stage called before training the learner. Called in workhorse() (internal).

on_resample_before_predict

(function())
Stage called before predicting. Called in workhorse() (internal).

on_resample_end

(function())
Stage called at the end of an evaluation. Called in workhorse() (internal).

on_eval_after_resample

(function())
Stage called after feature subsets are evaluated. Called in ObjectiveFSelectAsync$eval().

on_eval_before_archive

(function())
Stage called before performance values are written to the archive. Called in ObjectiveFSelectAsync$eval().

on_fselect_result_begin

(function())
Stage called before the results are written. Called in FSelectInstance*$assign_result().

Methods

Inherited methods


Method clone()

The objects of this class are cloneable with this method.

Usage

CallbackAsyncFSelect$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.