trial.suggest_float()
: absolute value
#5406
Unanswered
GregoireHein
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I'm looking for a way to define a contraint on the absolute value of a suggested float.
For example, I can specify
1 <= x1 <= 10
usingx1 = trial.suggest_float("x1", 1, 10)
.How can I specify
1 <= abs(x1) <= 10
?Beta Was this translation helpful? Give feedback.
All reactions