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.

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

Examples

TerminatorModelTime$new()
#> <TerminatorModelTime> #> * Parameters: secs=0
term("model_time", secs = 10 * 3600)
#> <TerminatorModelTime> #> * Parameters: secs=3.6e+04