[SciPy-user] Least Squares error message.

John Gleeson jdgleeson at mac.com
Tue Apr 5 11:25:49 CDT 2005


On Apr 5, 2005, at 3:32 AM, 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
>
>


Andrea,

As Steve explained, this message means that the algorithm terminated 
normally.  The documentation you are missing is here 
<http://www.mcs.anl.gov/~more/ANL8074a.pdf>  (see page 22).

-John



More information about the SciPy-user mailing list