-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem inizializing the Optimizer #16
Comments
def objective(fac, reg, it, alp):
|
tuning=np.array([[2, 100], [0, 1], [0,200], [0,100]]) Optimizer = mo.MOBayesianOpt(target=objective, |
This is my code if it helps : ) |
Hi, Can you post the full stack trace of the error? |
Hi,
I get the error message "TypeError: only integer scalar arrays can be converted to a scalar index" when I try to inizialize my optimizer. I belive it is because self.space.random_points(init_points) returns a list an not an array. Is there a way to fix this by changing my input arguments (Init is of array type right now as specified in the wiki)
Thanks for the help!
The text was updated successfully, but these errors were encountered: