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:
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