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

[BUG] Callback not evaluated in gen 0 #45

Closed rodrigo-arenas closed 3 years ago

rodrigo-arenas commented 3 years ago

System information OS Platform and Distribution: all Sklearn-genetic-opt version: 0.6.0dev0 Scikit-learn version: 0.21.3 Python version: 3.7

Describe the bug Currently, the callbacks are meant to be evaluated after each generation is fitted. A missing statement is making that the callbacks only starts to be evaluated from gen 1, ignoring generation 0.

Expected behavior Make sure that the callbacks are evaluated from generation 0.