rodrigo-arenas / Sklearn-genetic-opt

ML hyperparameters tuning and features selection, using evolutionary algorithms.
https://sklearn-genetic-opt.readthedocs.io
MIT License
289 stars 73 forks source link

[FEATURE] Extend Callbacks Methods #52

Closed rodrigo-arenas closed 3 years ago

rodrigo-arenas commented 3 years ago

Is your feature request related to a problem? Please describe. Currently callbacks are only evaluated at the end of each step using the on_step() method, this restrict the use case if we want to take some actions at the beginning or end of the evaluation process

Describe the solution you'd expect Implement the methods on_start() and on_end() to let the user have bigger control over the evaluation process. Re-evaluate which parameters should go to each method. All the methods need to be optional inside the callbacks, and if its not defined, just pass