EAH¶
- class ioh.iohcpp.logger.EAH(self, error_min: float, error_max: float, error_buckets: int, evals_min: int, evals_max: int, evals_buckets: int)¶
- class ioh.iohcpp.logger.EAH(self, error_scale: ioh.iohcpp.logger.eah.LinearRealScale, eval_scale: ioh.iohcpp.logger.eah.LinearIntegerScale)
- class ioh.iohcpp.logger.EAH(self, error_scale: ioh.iohcpp.logger.eah.Log2RealScale, eval_scale: ioh.iohcpp.logger.eah.Log2IntegerScale)
- class ioh.iohcpp.logger.EAH(self, error_scale: ioh.iohcpp.logger.eah.Log10RealScale, eval_scale: ioh.iohcpp.logger.eah.Log10IntegerScale)
Bases:
LoggerEmperical Attainment Histogram Logger
Attributes Summary
The attainment matrices, in dicts by problem id, dimension, instance and run (new arrays, as at returns them)
(self) -> ioh.iohcpp.logger.eah.RealScale
(self) -> ioh.iohcpp.logger.eah.IntegerScale
Reference to the currently attached problem
(self) -> tuple[int, int, int, int]
Methods Summary
add_trigger(self, arg, /)Add a trigger to the logger
at(self, arg0, arg1, arg2, arg3, /)The attainment matrix of a run, by problem id, instance, dimension and run: a new two-dimensional bool array, error targets (rows) by evaluation targets (columns).
call(self, arg, /)Performs logging behaviour
reset(self)Reset the state of the logger
Attributes Documentation
- data¶
The attainment matrices, in dicts by problem id, dimension, instance and run (new arrays, as at returns them)
- error_range¶
(self) -> ioh.iohcpp.logger.eah.RealScale
- eval_range¶
(self) -> ioh.iohcpp.logger.eah.IntegerScale
- problem¶
Reference to the currently attached problem
- size¶
(self) -> tuple[int, int, int, int]
Methods Documentation
- add_trigger(self, arg: ioh.iohcpp.logger.trigger.Trigger, /) None¶
Add a trigger to the logger
- at(self, arg0: int, arg1: int, arg2: int, arg3: int, /) numpy.ndarray[dtype=bool, shape=(*, *)]¶
The attainment matrix of a run, by problem id, instance, dimension and run: a new two-dimensional bool array, error targets (rows) by evaluation targets (columns).
- call(self, arg: ioh.iohcpp.LogInfo, /) None¶
Performs logging behaviour
- reset(self) None¶
Reset the state of the logger