Skip to content

zero division error when using ei utility function #516

Closed

Description

@Yoonho-Na

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)

Screenshots

스크린샷 2024-08-20 오전 10 58 58

Activity

  1. t-muser commented on Aug 20, 2024

    @t-muser
    Member

    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.

  2. t-muser commented on Aug 24, 2024

    @t-muser
    Member

    I will close this issue for now. Feel free to reopen with more information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions