Y-oHr-N / OptGBM

Optuna + LightGBM = OptGBM
MIT License
34 stars 7 forks source link

Store boosters outside Optuna's storage #74

Closed Y-oHr-N closed 4 years ago

Y-oHr-N commented 4 years ago

In this PR, boosters are overwritten only when the best score is updated. This behavior reduces execution time and file size. Exclusive control is required for parallel execution.

codecov-io commented 4 years ago

Codecov Report

Merging #74 into master will increase coverage by 0.28%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #74      +/-   ##
==========================================
+ Coverage   96.21%   96.50%   +0.28%     
==========================================
  Files           7        7              
  Lines         528      543      +15     
==========================================
+ Hits          508      524      +16     
+ Misses         20       19       -1     
Impacted Files Coverage Δ
optgbm/sklearn.py 96.15% <100.00%> (+0.56%) :arrow_up:
tests/test_sklearn.py 99.36% <100.00%> (+<0.01%) :arrow_up:

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 485ced0...0408587. Read the comment docs.

codecov-commenter commented 4 years ago

Codecov Report

Merging #74 into master will increase coverage by 0.14%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #74      +/-   ##
==========================================
+ Coverage   96.21%   96.36%   +0.14%     
==========================================
  Files           8        8              
  Lines         555      550       -5     
==========================================
- Hits          534      530       -4     
+ Misses         21       20       -1     
Impacted Files Coverage Δ
optgbm/sklearn.py 96.56% <100.00%> (+0.29%) :arrow_up:
tests/test_sklearn.py 99.43% <100.00%> (+<0.01%) :arrow_up:

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 a611adf...79a2a68. Read the comment docs.