CallbackAsyncTuning {mlr3tuning} | R Documentation |
Create Asynchronous Tuning Callback
Description
Specialized bbotk::CallbackAsync for asynchronous tuning.
Callbacks allow to customize the behavior of processes in mlr3tuning.
The callback_async_tuning()
function creates a CallbackAsyncTuning.
Predefined callbacks are stored in the dictionary mlr_callbacks and can be retrieved with clbk()
.
For more information on tuning callbacks see callback_async_tuning()
.
Super classes
mlr3misc::Callback
-> bbotk::CallbackAsync
-> CallbackAsyncTuning
Public fields
on_eval_after_xs
(
function()
)
Stage called after xs is passed. Called inObjectiveTuning$eval()
.on_eval_after_resample
(
function()
)
Stage called after hyperparameter configurations are evaluated. Called inObjectiveTuning$eval()
.on_eval_before_archive
(
function()
)
Stage called before performance values are written to the archive. Called inObjectiveTuning$eval()
.
Methods
Public methods
Inherited methods
Method clone()
The objects of this class are cloneable with this method.
Usage
CallbackAsyncTuning$clone(deep = FALSE)
Arguments
deep
Whether to make a deep clone.