Naming for "xtol" and "ftol" criteria in PINTS (max_unchanged_iterations) #1678
Replies: 5 comments
-
Highly used function though, so would love input from as many @pints-team/devs as possible! |
Beta Was this translation helpful? Give feedback.
-
Honestly speaking the name |
Beta Was this translation helpful? Give feedback.
-
I have been using scipy optimisation, and Although I do agree, |
Beta Was this translation helpful? Give feedback.
-
Thank you Michael for working on this! I may be alone on this, but I actually find the So, I am wondering whether Looking forward to hearing your thoughts! :) |
Beta Was this translation helpful? Give feedback.
-
I'd avoid being too similar to the ftol and xtol (or xatol and fatol) standards as I think they carry the implication of checking with the previous iteration rather than the default in pints of 200 iterations ago.
I like the idea of keeping it all isolated to a single function. Makes it clear that if you're using multiple termination criteria then they should stack rather than override each other. |
Beta Was this translation helpful? Give feedback.
-
As part of #1502 I'm wondering what to do about the names of the stopping criteria based on a minimum change per iteration
At the moment we have
set_max_unchanged_iterations
, which sets anftol
type criterion (stop when the best function value changes by less than X for N iterations). I'm adding one that sets anxtol
type criterion (stop when the best parameter value changes by less than X for N iterations). Current names in some software:I'd gone for
unmoved_iterations
but initial feedback says no. So now thinking we (deprecate and) rename theunchanged_iterations
methods to something that includes the word function?Beta Was this translation helpful? Give feedback.
All reactions