BayesianOptimization
BayesianOptimization copied to clipboard
Queue
Browsing the code I've seen a custom implementation of Queue. Since there is a queue on the Standard Library, why not use it? it may be useful when doing threading? and there is less code to maintain.
If this is not the direction you want to take feel free to close this PR. I just did it because it seems like reinventing the wheel a bit.
Codecov Report
Merging #239 into master will increase coverage by
0.20%
. The diff coverage is100.00%
.
@@ Coverage Diff @@
## master #239 +/- ##
==========================================
+ Coverage 98.44% 98.64% +0.20%
==========================================
Files 7 7
Lines 385 369 -16
Branches 39 39
==========================================
- Hits 379 364 -15
+ Misses 3 2 -1
Partials 3 3
Impacted Files | Coverage Δ | |
---|---|---|
bayes_opt/bayesian_optimization.py | 100.00% <100.00%> (+0.98%) |
: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 e32b1fb...59b976d. Read the comment docs.
Of course there is 🤦 . When implementing it I didn't even think about it, but I agree, not re-inventing the wheel is definitely the way to go. If you don't mind fixing the conflict and squashing the commits into 1, max 2, commits, I would love to get this merged =)
Ok, first time squashing and it seems I have squashed more that what I should. I will have to check how to fix it, my bad.
Actually, the Files Changed section of the PR seems about right, but if I check the use queue from the standard library
commit, it seems to be including some documentation and some other commits. I haven't been able to "fix" it, so maybe it is already ok (?).
Please let me know what you think. :-)
Codecov Report
Merging #239 (310e700) into master (ab8ca64) will increase coverage by
0.21%
. The diff coverage is100.00%
.
@@ Coverage Diff @@
## master #239 +/- ##
==========================================
+ Coverage 98.44% 98.65% +0.21%
==========================================
Files 7 7
Lines 385 372 -13
Branches 39 39
==========================================
- Hits 379 367 -12
+ Misses 3 2 -1
Partials 3 3
Impacted Files | Coverage Δ | |
---|---|---|
bayes_opt/bayesian_optimization.py | 100.00% <100.00%> (+0.98%) |
: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 ab8ca64...310e700. Read the comment docs.
Fixed!
Codecov Report
Merging #239 (8cc8d9b) into master (91441fe) will increase coverage by
0.81%
. The diff coverage is100.00%
.
@@ Coverage Diff @@
## master #239 +/- ##
==========================================
+ Coverage 98.44% 99.26% +0.81%
==========================================
Files 7 7
Lines 387 409 +22
Branches 39 58 +19
==========================================
+ Hits 381 406 +25
+ Misses 3 1 -2
+ Partials 3 2 -1
Impacted Files | Coverage Δ | |
---|---|---|
bayes_opt/bayesian_optimization.py | 100.00% <100.00%> (+0.96%) |
:arrow_up: |
bayes_opt/target_space.py | 100.00% <0.00%> (ø) |
|
bayes_opt/util.py | 97.63% <0.00%> (+0.29%) |
:arrow_up: |
bayes_opt/domain_reduction.py | 100.00% <0.00%> (+4.08%) |
: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 91441fe...8cc8d9b. Read the comment docs.
Hey @alonfnt, sorry about the slow response. Could I ask you to make any commit to this branch, which will trigger the (recently working again CI) to run?
@bwheelz36 done :)
thank you!