Open twest820 opened 3 years ago
Thanks, good points ... as for all code, there is a lot of history and this was I think taken over from R code of a DEzs re-implementation by Francesco Minunno. @ForModLabUHel - any comments on the choice of the parameter names and the origin / reference for eps.mult?
In principle, I would be willing to re-name this, my guess is that these parameters are rarely changed by users.
You're welcome, Florian. Good to know this was helpful.
The settings for DEzs include the parameters
eps
,eps.mult
, andeps.add
.eps.mult
is used in calculatinggamma_par
andeps.add
is used in findingx_prop
. However, searching the code for references tosettings$eps
finds no hits and numerical runs with different values ofeps
show no obvious effect.To speculate, a possible explanation might be
eps
was copied from DE-MCMC code, superseded byeps.mult
andeps.add
, but not removed from the DEzs implementation.It may also be helpful to clarify the descriptions of these parameters. As I currently understand the code,
eps
is from ter Braak 2005 equation 2.eps.sum
is from ter Braak and Vrugt 2009 equation 1. Since this equation is identical to ter Braak equation 2,eps.sum
andeps
are the same thing. It's minor, but probably therefore preferable to call them the same in BayesianTools' DE and DEzs APIs.eps.mult
. Using a variable γ strikes me as logical diversification in an MCMC search but I'm unsure if this is an innovation specific to BayesianTools or if the DEzs documentation could have a second citation.Personally, I'd probably remove
eps.sum
, have DEzs use itseps
parameter, and renameeps.mult
to something likegamma.mult
for clarity. Those are breaking changes, though.