macop.callbacks.Callback¶
Abstract Checkpoint class
Classes
|
Callback abstract class in order to compute some instruction every evaluation |
-
class
macop.callbacks.Callback.
Callback
(_every, _filepath)[source]¶ Callback abstract class in order to compute some instruction every evaluation
-
algo
¶ {Algorithm} – main algorithm instance reference
-
every
¶ {int} – checkpoint frequency used (based on number of evaluations)
-
filepath
¶ {str} – file path where checkpoints will be saved
-