This class is the base class for all autos.
Value
Object of class R6::R6Class and Auto.
Public fields
id(
character(1)).properties(
character()).task_types(
character()).packages(
character()).devices(
character()).
Methods
Auto$new()
Creates a new instance of this R6 class.
Arguments
id(
character(1)).properties(
character()).task_types(
character()).packages(
character()).devices(
character()).
Auto$check()
Check if the auto is compatible with the task.
Arguments
task(mlr3::Task).
memory_limit(
integer(1)).large_data_set(
logical(1)).devices(
character())
Devices to use. Allowed values are"cpu"and"cuda". Default is "cpu".
Auto$graph()
Create the graph for the auto.
Arguments
task(mlr3::Task).
measuren_threads(
integer(1)).timeout(
integer(1)).devices(
character())
Devices to use. Allowed values are"cpu"and"cuda". Default is "cpu".
Auto$early_stopping_rounds()
Estimate the number of early stopping rounds (the patience) for a learner.
budget is the maximum number of training rounds (boosting iterations or epochs) the learner may use.
The patience is capped well below the budget, otherwise early stopping and validation-based internal tuning
can never trigger and the learner always trains for the full budget.
Arguments
task(mlr3::Task).
budget(
integer(1))
Maximum number of training rounds (boosting iterations or epochs) the learner may use.
Auto$finalize_model()
Prepare the graph learner for the final model fit. Called after tuning to undo tuning-only setup (e.g., timeout callbacks).
Auto$design_set()
Get the initial hyperparameter set for the learner.
Arguments
task(mlr3::Task).
measuresize(
integer(1)).
