-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Closed
Labels
Description
Ex:
from bayes_opt import BayesianOptimization
black_box_function = lambda x, y: -x ** 2 - (y - 1) ** 2 + 1
pbounds = {'x': (2, 4), 'y': (-3, 3)}
optimizer = BayesianOptimization(
f=black_box_function,
pbounds=pbounds,
verbose =2
)
optimizer.maximize()Expected behavior
I expect to get a printout of the progress outputs during the optimization process in power shell or git bash similar to jupyter notebook.
Environment (please complete the following information):
- OS: [Windows]
Additional context
When I run the same code in jupyter notebook, I get a log of optimization steps's output. However if I use powershell or git bash, I don't get any output.
Update
Turns out it was a connection with the server not the package. It works fine in powershell as well! No issues.