[SciPy-user] Least Squares error message.

steve schmerler elcorto at gmx.net
Tue Apr 5 09:58:41 EDT 2005


Hi

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.

Cheers,
Steve

Andrea Riciputi wrote:
> Hi all,
> I'm trying scipy.optimize.leastsq routine and I get the following 
> warning message as output:
> 
>> In [100]: lstSquareEstimate
>> Out[100]:
>> (0.029000567127575108,
>>  'Both actual and predicted relative reductions in the sum of 
>> squares\n  are at most 0.000000')
> 
> 
> The message doesn't seem too much explicative (at least to me), and even 
> after looking at scipy and MINPACK source codes, I've not got any 
> further insight. Could someone try to explain what was going wrong here?
> 
> Thanks in advance,
>  Andrea.
> 
> _______________________________________________
> SciPy-user mailing list
> SciPy-user at scipy.net
> http://www.scipy.net/mailman/listinfo/scipy-user
> 
> 




More information about the SciPy-User mailing list