Add trials to *Sampler.sample_{independent, relative}#805
Add trials to *Sampler.sample_{independent, relative}#805crcrpar wants to merge 2 commits intooptuna:masterfrom
trials to *Sampler.sample_{independent, relative}#805Conversation
update other samplers
update tests
Codecov Report
@@ Coverage Diff @@
## master #805 +/- ##
==========================================
- Coverage 90.15% 90.09% -0.07%
==========================================
Files 106 106
Lines 8769 8793 +24
==========================================
+ Hits 7906 7922 +16
- Misses 863 871 +8
Continue to review full report at Codecov.
|
Summary of off-line discussion with @sile
-> Need more generalized design/implementation from that other coming/existing pruners/samplers can benefit. Design IdeaA. Inspired by Ax somewhat
|
|
Let me close this PR as I think #809 is enough to implement Hyperband. |
Context: This PR derives from #785.
#785 is not trivial and composed of two major changes: hyperband implementation and new argument.
But the changes related to the new argument is independent from hyperband implementation.
This PR changes
BaseSampler.sample_{independent, relative}to taketrials, a list of trials as an argument.