These create functions that can be given to slickEcr
's generations
argument
The stagnation terminators only count stagnation from the last time the fidelity was changed in a way that led to population re-evaluation.
mosmafsTermEvals(evals)mosmafsTermGenerations(generations)
mosmafsTermTime(time)
mosmafsTermFidelity(fidelity)
mosmafsTermStagnationHV(stag, stag.index = "generations")
mosmafsTermStagnationObjStatistic(
stag,
stag.index = "generations",
obj.stat = "mean",
objective.index = TRUE
)
function
a terminator function
[integer(1)]
limit evals.
[integer(1)]
limit generations. Initial population does
not count.
[numeric(1)]
limit evaluation time (which does not count
holdout fitting time.
[numeric(1)]
total fidelity evaluation to limit.
[integer(1)]
number of generations (or other measures)
without progress in hypervolume or mean objective value.
[character(1)]
one of "generations"
(default),
"evals"
, "time"
, "fidelity"
: What index to count stag
against when
aborting after stagnation.
[character(1)]
what statistic of the objective to test.
One of "min", "mean", "max". Default "mean".
[integer | logical]
index of objective(s) to consider. Terminates
if all the objectives listed here stagnate. TRUE
for all objectives. Default TRUE
.