Skip to content
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

Example code working but nothing else #97

Open
danbraunai opened this issue Mar 22, 2017 · 0 comments
Open

Example code working but nothing else #97

danbraunai opened this issue Mar 22, 2017 · 0 comments

Comments

@danbraunai
Copy link

danbraunai commented Mar 22, 2017

Hi, I managed to get the example code (simple) working, but when I change the branin function in branin.py and run spearmint again (after cleaning up), the program runs as if I hadn't changed anything and still outputs the same results.
I simply changed the body of the branin function to:

def branin(x, y):
xval = (x-4)**2
yval = (y-8)**2
return xval + yval

But the output does not converge to 0 (x=4, y=8) as I would expect.

If anyone knows what the problem may be please help me out.
Cheers.

EDIT:
I managed to get it working. I had to modify the existing example files instead of creating a new one. Perhaps I had some paths mixed around

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant