[SciPy-User] robust fit

Sturla Molden sturla at molden.no
Tue May 31 11:37:48 EDT 2011


Den 31.05.2011 17:30, skrev josef.pktd at gmail.com:
>
> Do you have an example for this?
> > From the docstring of lmdif and lmder it can only minimize sum of squares, e.g.
>
> c     the purpose of lmdif is to minimize the sum of the squares of
> c     m nonlinear functions in n variables by a modification of
> c     the levenberg-marquardt algorithm.
>

Huh?

If it can minimize sum(x*x), then it can also minimize sum(w*x*x) by the 
transformation z = sqrt(w)*x.

Sturla






More information about the SciPy-User mailing list