Skip to content

Conversation

@leandrobbraga
Copy link
Contributor

@leandrobbraga leandrobbraga commented May 5, 2023

Partially Fixes #412.

The idea is to have a dedicated space property that calculates eagerly the y_max of the space, considering the constraints.

I decided to split the MR in two to ease the review. I'll be sending another MR soon with the fix of the warmup phase of the acq_max.

@codecov-commenter
Copy link

codecov-commenter commented May 5, 2023

Codecov Report

Patch coverage: 100.00% and project coverage change: +0.01 🎉

Comparison is base (33b99ec) 98.57% compared to head (4215502) 98.58%.

❗ Current head 4215502 differs from pull request most recent head 99da524. Consider uploading reports for the commit 99da524 to get more accurate results

📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

Additional details and impacted files
@@ Coverage Diff @@ ## master #415 +/- ## ========================================== + Coverage 98.57% 98.58% +0.01%  ========================================== Files 8 8 Lines 560 567 +7 Branches 79 83 +4 ========================================== + Hits 552 559 +7  Misses 4 4 Partials 4 4 
Impacted Files Coverage Δ
bayes_opt/bayesian_optimization.py 100.00% <ø> (ø)
bayes_opt/target_space.py 99.23% <100.00%> (+0.04%) ⬆️

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@bwheelz36 bwheelz36 requested a review from till-m May 7, 2023 01:13
Copy link
Member

@till-m till-m left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me in general. Small note, as far as I know we're generally using target instead of y for the result of the function we are maximizing. I know that this is not consistent everywhere, but I think it would be good to go that direction here.

@leandrobbraga
Copy link
Contributor Author

I had to adapt the tests after the last change, some were failing

Copy link
Member

@till-m till-m left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM -- will merge tomorrow!

@till-m till-m merged commit e078433 into bayesian-optimization:master May 10, 2023
@till-m
Copy link
Member

till-m commented May 10, 2023

Thanks for your contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

4 participants