OnDeltaImprovement¶
- class ioh.iohcpp.logger.trigger.OnDeltaImprovement(self, delta: float = 1e-10)¶
Bases:
TriggerTrigger that evaluates to true when improvement of the objective function is observed of at least greater than delta. It keeps the best value of a run, so loggers used at the same time (e.g. in different threads) each need their own, rather than sharing ON_DELTA_IMPROVEMENT.
Attributes Summary
(self) -> float
(self) -> float
Methods Summary
Attributes Documentation
- best_so_far¶
(self) -> float
- delta¶
(self) -> float
Methods Documentation
- __call__(self, arg0: ioh.iohcpp.LogInfo, arg1: ioh.iohcpp.MetaData, /) bool¶
- reset(self) None¶