Class to terminate the optimization after a performance level has been hit.
Dictionary
This Terminator can be instantiated via the
dictionary mlr_terminators or with the associated
sugar function trm():
Parameters
levelnumeric(1)
Performance level that needs to be reached. Default is 0. Terminates if the performance exceeds (respective measure has to be maximized) or falls below (respective measure has to be minimized) this value.
Super class
Terminator -> TerminatorPerfReached
Methods
TerminatorPerfReached$new()
Creates a new instance of this R6 class.
Usage
TerminatorPerfReached$new()TerminatorPerfReached$is_terminated()
Is TRUE iff the termination criterion is positive, and FALSE
otherwise.
Arguments
archive(Archive).
Examples
TerminatorPerfReached$new()
#>
#> ── <TerminatorPerfReached> - Performance Level ─────────────────────────────────
#> • Parameters: level=0.1
trm("perf_reached")
#>
#> ── <TerminatorPerfReached> - Performance Level ─────────────────────────────────
#> • Parameters: level=0.1