-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Fix param_mask
for multivariate TPE with constant_liar
#4462
Conversation
Codecov Report
📣 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 @@ Coverage Diff @@
## master #4462 +/- ##
==========================================
- Coverage 90.40% 89.66% -0.74%
==========================================
Files 172 178 +6
Lines 13682 13974 +292
==========================================
+ Hits 12369 12530 +161
- Misses 1313 1444 +131
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I confirmed the errors in both codes (#4459 (comment), #4459 (comment)) are resolved! LGTM.
I found #4079 accidentally introduced this bug. So, versions before 3.1.0 do not have it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I also confirmed the original error is fixed and your test works to confirm this fix. LGTM!
Fix `param_mask` for multivariate TPE with `constant_liar`
Backport #4462 for v3.1.1
Motivation
Fix #4459.
When
multivariate=True
andconstant_liar=True
, running trials may partially sample parameters in a relative search space. In this case, we need to check all parameters to make the mask.Description of the changes
Check all parameters to make
param_mask
.