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] Installation dependencies #37

Closed rodrigo-arenas closed 3 years ago

rodrigo-arenas commented 3 years ago

This pull request makes of seaborn and mlflow optional packages when the installation is being done, this is to make the package as light as possible, this implies that the sklearn_genetic.plots and sklearn_genetic.mlflow modules won't work at least that the users install the extras with pip install sklearn-genetic-opt[all] or by its own means.

codecov[bot] commented 3 years ago

Codecov Report

Merging #37 (6de32a8) into master (0207add) will decrease coverage by 4.50%. The diff coverage is 82.66%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #37      +/-   ##
==========================================
- Coverage   99.79%   95.28%   -4.51%     
==========================================
  Files          13       18       +5     
  Lines         486      552      +66     
==========================================
+ Hits          485      526      +41     
- Misses          1       26      +25     
Impacted Files Coverage Δ
sklearn_genetic/mlflow.py 0.00% <0.00%> (ø)
sklearn_genetic/space/space.py 100.00% <ø> (ø)
sklearn_genetic/space/space_parameters.py 100.00% <ø> (ø)
sklearn_genetic/genetic_search.py 99.37% <95.45%> (-0.03%) :arrow_down:
sklearn_genetic/__init__.py 100.00% <100.00%> (ø)
sklearn_genetic/_version.py 100.00% <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%> (ø)
... and 9 more

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 5522d07...6de32a8. Read the comment docs.