mlr3tuning (version 0.1.0)

TerminatorModelTime: 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: TerminatorClockTime, TerminatorCombo, TerminatorEvals, TerminatorNone, TerminatorPerfReached, TerminatorStagnation, Terminator, mlr_terminators

Examples

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

Run the code above in your browser using DataCamp Workspace