-
-
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 duplicated sampling of SkoptSampler
#4023
Conversation
Codecov Report
@@ Coverage Diff @@
## master #4023 +/- ##
=======================================
Coverage 90.19% 90.20%
=======================================
Files 160 160
Lines 12580 12582 +2
=======================================
+ Hits 11347 11349 +2
Misses 1233 1233
📣 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.
Works for me.
@contramundum53 Could you review this PR, please? |
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.
LGTM!
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.
LGTM.
Motivation
Fix #4022.
SkoptSampler
samples duplicated parameters because_Optimizer
is created using the same random seed.Description of the changes
Update
random_state
after creating_Optimizer
.