[SciPy-user] Least Squares error message.
elcorto at gmx.net
Tue Apr 5 10:25:15 CDT 2005
What do you mean? It is rather a status message telling you why
If I try Travis's example I also get
In : reload mytest
(array([-10.33422249, 32.88295995, 3.7880052 ]), 'Both actual and
predicted relative reductions in the sum of squares\n are at most
My default values are:
leastsq(func, x0, args=(), Dfun=None, full_output=0, col_deriv=0,
ftol=1.49012e-008, xtol=1.49012e-008, gtol=0.0, maxfev=0, epsfcn=0.0,
The 0.0000 is in fact 'ftol' = 1.49012e-008 (in my opinion).
Andrea Riciputi wrote:
> I see, but what I can't understand is the meaning of the error message.
> By the way, if I try the example given at page 16 of "SciPy Tutorial"
> (by Travis), I get the same error message.
> Any other hint?
> On 5 Apr 2005, at 15:58, steve schmerler wrote:
>> Well it looks as if the algorithm met one of its termination criterias
>> ('ftol', at least mpfit (see earlier posts for mpfit) gives exactly
>> the same message).
>> Maybe you should post your code part which calls leastsq.
> SciPy-user mailing list
> SciPy-user at scipy.net
More information about the SciPy-user