brian-team / brian2modelfitting

Model fitting toolbox for the Brian 2 simulator
https://brian2modelfitting.readthedocs.io
Other
14 stars 6 forks source link

Deal with minimal population sizes and budgets in Nevergrad #37

Closed mstimberg closed 4 years ago

mstimberg commented 4 years ago

Some algorithms have minimal sample sizes (e.g. 30 for DE, 40 for PSO), and some of them break if we manually set them lower. With this PR, the user gets a warning that the requested sample size will not be used. Some algorithms do not support parallelization at all, this will also trigger a warning (and a use of sample size 1) now. Finally, we now set the "budget", since some algorithms require it.