I had some problems executing "optimizer.optimize" function in the examples_scenarion/demo/demo_jupyter_notebook2021.ipynb file.
After checking other examples (examples_scenarios/quick_start/branin_jupyter_notebook.ipynb that worked) I've discovered that there's a problem with the creation of json file:
scenario["models"] = {} scenario["models"]["model"] = "gaussian_process"
By commenting these two lines, I was able to execute the code without any problem; otherwise, I had the following error: "TypeError: 'builtin_function_or_method' object does not support item assignment".
I had some problems executing "optimizer.optimize" function in the examples_scenarion/demo/demo_jupyter_notebook2021.ipynb file. After checking other examples (examples_scenarios/quick_start/branin_jupyter_notebook.ipynb that worked) I've discovered that there's a problem with the creation of json file:
scenario["models"] = {} scenario["models"]["model"] = "gaussian_process"
By commenting these two lines, I was able to execute the code without any problem; otherwise, I had the following error: "TypeError: 'builtin_function_or_method' object does not support item assignment".