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 fix callbacks in generation 0 #46

Closed rodrigo-arenas closed 3 years ago

rodrigo-arenas commented 3 years ago

This PR solves the bug described in #45 by properly handle the callbacks to work from generation 0.

codecov[bot] commented 3 years ago

Codecov Report

Merging #46 (abe9d44) into master (049e211) will increase coverage by 0.08%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #46      +/-   ##
==========================================
+ Coverage   95.65%   95.74%   +0.08%     
==========================================
  Files          18       18              
  Lines         599      611      +12     
==========================================
+ Hits          573      585      +12     
  Misses         26       26              
Impacted Files Coverage Δ
sklearn_genetic/algorithms.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 049e211...abe9d44. Read the comment docs.