[SciPy-user] leastsq information message
Thu Apr 19 11:58:01 CDT 2007
On Thu, Apr 19, 2007 at 09:05:40AM -0400, Tommy Grav wrote:
> Both actual and predicted relative reductions in the sum of squares
> are at most 0.000000
I poked around and found in the scipy source code minpack.py:
(lmdif or lmder is first called and this test is made)
if info in [5,6,7,8]:
print "Warning: " + errors[info]
and according to the minpack lmdif info available at:
one of the following (5,6,7,8) causes your error message to print
INFO = 5 Number of calls to FCN has reached or exceeded
INFO = 6 FTOL is too small. No further reduction in the sum
of squares is possible.
INFO = 7 XTOL is too small. No further improvement in the
approximate solution X is possible.
INFO = 8 GTOL is too small. FVEC is orthogonal to the
columns of the Jacobian to machine precision.
So it looks to be caused by one of these conditions.
More information about the SciPy-user