Skip to content

cannot import name 'acquisition' from 'bayes_opt' #500

@dinghly

Description

@dinghly

Hello, I am trying to reproduce the section exploitation vs exploration from https://bayesian-optimization.github.io/BayesianOptimization/exploitation_vs_exploration.html#Acquisition-Function-%22Upper-Confidence-Bound%22

I have installed bayesian optimization 1.5.1 and whenever I am trying to import acquisition by typing

from bayes_opt import acquisition,

it returns

ImportError: cannot import name 'acquisition' from 'bayes_opt' (C:\Users\ldhy9\AppData\Local\Programs\Python\Python311\Lib\site-packages\bayes_opt_init_.py)

can you help why?

thank you

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