Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update domain_reduction.py #454

Merged
merged 2 commits into from
Jan 22, 2024
Merged

Conversation

lm314
Copy link
Contributor

@lm314 lm314 commented Jan 16, 2024

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.

lm314 added 2 commits January 16, 2024 10:54
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.
Added test_minimum_window_dict_ordering to test whether dictionary input for SequentialDomainReductionTransformer is ordered to match pBounds.
@lm314
Copy link
Contributor Author

lm314 commented Jan 16, 2024

Accidentally discarded changes from previous pull request, so resubmitting changes under a new pull request with most current version.

Copy link

codecov bot commented Jan 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (844927b) 98.46% compared to head (ba6dc4f) 98.38%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #454      +/-   ##
==========================================
- Coverage   98.46%   98.38%   -0.08%     
==========================================
  Files           8        8              
  Lines         588      559      -29     
  Branches       88       85       -3     
==========================================
- Hits          579      550      -29     
  Misses          3        3              
  Partials        6        6              

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

@till-m
Copy link
Member

till-m commented Jan 17, 2024

LGTM. I don't really understand why coverage drops with this PR, but I don't think that should be a holdup for merging.

@bwheelz36 any idea?

If no objections, I will merge this soon.

@till-m till-m merged commit 129caac into bayesian-optimization:master Jan 22, 2024
6 of 7 checks passed
@till-m
Copy link
Member

till-m commented Jan 22, 2024

Thanks for the contribution :)

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