Skip to content

Update domain_reduction.py - #444

Closed
lm314 wants to merge 0 commit into
bayesian-optimization:masterfrom
lm314:master
Closed

lm314 wants to merge 0 commit into
bayesian-optimization:masterfrom
lm314:master

Conversation

@lm314

@lm314 lm314 commented Oct 4, 2023

Copy link
Copy Markdown
Contributor

Adds ability to pass a dictionary as the minimum_window argument in SequentialDomainReductionTransformer. Deals with issue where TargetSpace sorts the pBounds dictionary, causing the order of the list used for minimum_window to possibly not match the order of the stored boundaries.

@codecov

codecov Bot commented Oct 9, 2023 •

Copy link
Copy Markdown

Codecov Report

All modified lines are covered by tests ✅

Comparison is base (11a0c6a) 98.42% compared to head (3a80e76) 98.43%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #444   +/-   ##
=======================================
  Coverage   98.42%   98.43%           
=======================================
  Files           8        8           
  Lines         573      575    +2     
  Branches       84       86    +2     
=======================================
+ Hits          564      566    +2     
  Misses          5        5           
  Partials        4        4           
Files Coverage Δ
bayes_opt/domain_reduction.py 96.10% <100.00%> (+0.10%) ⬆️

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@t-muser
t-muser self-requested a review October 12, 2023 19:07

@t-muser t-muser left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM, except for the minor change in the test. I would however wait with merging this until #441 is merged.

Comment thread tests/test_seq_domain_red.py Resolved
@t-muser

t-muser commented Jan 13, 2024

Copy link
Copy Markdown
Member

@lm314 sorry for the delay. Could you please pull upstream changes?

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants