mlr3tuning (version 0.1.2)

mlr_terminators_model_time: Terminator that stops after a budget of model evaluation time is depleted

Description

Class to terminate the tuning after a given model evaluation budget is exceeded. The terminator measures the used time to train and predict all models contained in the archive.

Arguments

Format

R6::R6Class object inheriting from Terminator.

Construction

TerminatorModelTime$new()
term("model_time")

Parameters

  • secs :: numeric(1) Maximum allowed time, in seconds, default is 0.

See Also

Other Terminator: Terminator, mlr_terminators_clock_time, mlr_terminators_combo, mlr_terminators_evals, mlr_terminators_none, mlr_terminators_perf_reached, mlr_terminators_stagnation, mlr_terminators

Examples

Run this code
# NOT RUN {
TerminatorModelTime$new()
term("model_time", secs = 10 * 3600)
# }

Run the code above in your browser using DataLab