Number of runs too small when using ParameterSpace #198
-
Dear Experts, I would like to run simulations exploring a parameter space for an ALN model. I have read your examples online and I have managed to write my model evaluation function and run the search as follows:
When I run this command, I get:
The simulations run, but I only get 2 runs of the simulation, whereas I would expect to have 4 (4 possible combinations of parameters). I might be missing something obvious, but how can I use ParameterSpace to explore all possible combinations of parameters? Thank you, Leonardo Tozzi |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Dear @leotozzi88, For simple grids with only 2 values per parameter, neurolib is trying to automatically infer what kind of space you want to explore and incorrectly assumes those are just bounds. This should work: ...
parameters=ParameterSpace({"Ke_gl":[0.1, 500.0], "sigma_ou":[0.2, 0.3]}, kind="grid")
... Thanks for using N. |
Beta Was this translation helpful? Give feedback.
Dear @leotozzi88,
For simple grids with only 2 values per parameter, neurolib is trying to automatically infer what kind of space you want to explore and incorrectly assumes those are just bounds. This should work:
Thanks for using
neurolib
:)N.