sdtaylor / phenology_dataset_study

1 stars 1 forks source link

differential evolution maximum iterations #34

Closed sdtaylor closed 6 years ago

sdtaylor commented 6 years ago

DE has an argument called maxiter which is the maximum number of iterations to run. I've always had this set to None assuming that the algorithm would keep going until a solution was reached which met other criteria. In some related testing I figured out setting maxiter to None actually means it defaults to 1000, so will quit regardless at 1000 iterations.

Note this is documented in newer versions but not older ones

Probably doesn't make a different for most of the models, but for the complex models it might.

sdtaylor commented 6 years ago

Going thru things again with this set to 10000

Without grouping sites together

sdtaylor commented 6 years ago

The number of iterations required when the maximum was set to 1000. Black line is at 1000, the old value for maxiter.

4 parameter + models definitely need > 1000 for this.

image

sdtaylor commented 6 years ago

Looking good. Upping the iterations to > 1000 did not make a big difference overall. Note that I had to be set to 50000 for the 4 parameter models.