You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We need to re-think the default tolerance for the optimization methods and the EstMetho class. For lmdif, epsfcn should remain to be EPSILON (1.1920928955078125e-07) but ftol, xtol and gtol should not be EPSILON, etc... At the very least one may want to consider the tolerance within the EstMethod for the optimization method to be the same setting as eps for the EstMethod.
Sherpa's conf, with an appropriate coordinate transformation, is basically a 1-d root finding algorithm. So eps is the tolerance for finding said root.
We need to re-think the default tolerance for the optimization methods and the EstMetho class. For lmdif, epsfcn should remain to be EPSILON (1.1920928955078125e-07) but ftol, xtol and gtol should not be EPSILON, etc... At the very least one may want to consider the tolerance within the EstMethod for the optimization method to be the same setting as eps for the EstMethod.
def lmdif(fcn, x0, xmin, xmax, ftol=EPSILON, xtol=EPSILON, gtol=EPSILON,
maxfev=None, epsfcn=EPSILON, factor=100.0, verbose=0):
def montecarlo(fcn, x0, xmin, xmax, ftol=EPSILON, maxfev=None, verbose=0,
seed=74815, population_size=None, xprob=0.9,
weighting_factor=0.8):
def neldermead( fcn, x0, xmin, xmax, ftol=EPSILON, maxfev=None,
initsimplex=0, finalsimplex=9, step=None, iquad=1,
verbose=0 ):
class EstMethod(NoNewAttributesAfterInit):
The text was updated successfully, but these errors were encountered: