You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
zero division error when using ei utility function #516
Describe the bug
Using bayesian-optimization==1.4.3 results in bayes_opt/util.py:169: RuntimeWarning: divide by zero encountered in true_divide z = a / std.
I used utility function like this ei = UtilityFunction(kind="ei", xi=1e-1)
It looks like the GP predicts a standard deviation of 0, which can happen because of many things. Without more information we can't really tell you what exactly is the cause here.
Activity
t-muser commentedon Aug 20, 2024
Hi @Yoonho-Na,
It looks like the GP predicts a standard deviation of 0, which can happen because of many things. Without more information we can't really tell you what exactly is the cause here.
t-muser commentedon Aug 24, 2024
I will close this issue for now. Feel free to reopen with more information.