-
-
Notifications
You must be signed in to change notification settings - Fork 963
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
Support DiscreteUniformDistribution in suggest_float
.
#1081
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1081 +/- ##
==========================================
- Coverage 90.66% 90.37% -0.30%
==========================================
Files 126 126
Lines 10954 11070 +116
==========================================
+ Hits 9931 10004 +73
- Misses 1023 1066 +43
Continue to review full report at Codecov.
|
I made this PR ready for review since I want to discuss this PR with members. In #1069, it seems that raising When Could anyone take a look at this PR, please? |
I'm really sorry but I made a mistake in #1069. The condition should be |
@toshihikoyanase Thank you for clarification, I revised my PR to raise |
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.
In terms of API, the changes basically LGTM. I left some minor comments.
Just leaving a reference to another PR as they may conflict #1087.
Now I can see #1087 (reference). |
Regarding how
So, it seems like treating the "step" in the log space is consistent with other libraries, but again, it's likely open for discussion. |
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.
Thanks for your PR and the quick fixed, 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.
Thank you for your PR. I have two small comments.
FYI: the rendered document can be found https://35185-122299416-gh.circle-artifacts.com/0/docs/build/html/reference/trial.html#optuna.trial.Trial.suggest_float.
Co-Authored-By: Hiroyuki Vincent Yamazaki <hiroyuki.vincent.yamazaki@gmail.com>
Co-Authored-By: Toshihiko Yanase <toshihiko.yanase@gmail.com>
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.
Thank you for your update. I have two suggestions.
Co-Authored-By: Toshihiko Yanase <toshihiko.yanase@gmail.com>
@toshihikoyanase Sorry for not replying, I revised my PR. PTAL. |
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. Thank you for your contribution!
rel. #510 |
Description
This PR introduces
step
parameter toTrial.suggest_float
.Close #1069.