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

[PR] Extended Callbacks Methods #54

Closed rodrigo-arenas closed 3 years ago

rodrigo-arenas commented 3 years ago

This PR implements what is described on issue #52, it adds the methods on_start and on_end for the Callbacks. Now the evaluation process looks like this:

image

codecov[bot] commented 3 years ago

Codecov Report

Merging #54 (8012aa7) into master (86034f3) will not change coverage. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##            master       #54   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           18        18           
  Lines          632       669   +37     
=========================================
+ Hits           632       669   +37     
Impacted Files Coverage Δ
sklearn_genetic/genetic_search.py 100.00% <ø> (ø)
sklearn_genetic/algorithms.py 100.00% <100.00%> (ø)
sklearn_genetic/callbacks/__init__.py 100.00% <100.00%> (ø)
sklearn_genetic/callbacks/base.py 100.00% <100.00%> (ø)
sklearn_genetic/callbacks/early_stoppers.py 100.00% <100.00%> (ø)
sklearn_genetic/callbacks/loggers.py 100.00% <100.00%> (ø)
sklearn_genetic/callbacks/validations.py 100.00% <100.00%> (ø)
sklearn_genetic/parameters.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 86034f3...8012aa7. Read the comment docs.