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
)
Arguments
evals |
[integer(1)] limit evals.
|
generations |
[integer(1)] limit generations. Initial population does
not count.
|
time |
[numeric(1)] limit evaluation time (which does not count
holdout fitting time.
|
fidelity |
[numeric(1)] total fidelity evaluation to limit.
|
stag |
[integer(1)] number of generations (or other measures)
without progress in hypervolume or mean objective value.
|
stag.index |
[character(1)] one of "generations" (default),
"evals" , "time" , "fidelity" : What index to count stag against when
aborting after stagnation.
|
obj.stat |
[character(1)] what statistic of the objective to test.
One of "min", "mean", "max". Default "mean".
|
objective.index |
[integer | logical] index of objective(s) to consider. Terminates
if all the objectives listed here stagnate. TRUE for all objectives. Default TRUE .
|
Value
function
a terminator function