[SciPy-User] Least-squares fittings with bounds: why is scipy not up to the task?

Pauli Virtanen pav@iki...
Sat Mar 10 09:46:34 CST 2012

10.03.2012 15:54, Pauli Virtanen kirjoitti:
> Just dumping lmfit into Scipy would IMHO not be a good idea --- having
> one interface for scalar minimizers, and then a completely different one
> for least squares does not seem like a good idea. Code and ideas could
> be reused, though, picking up the best parts of the two approaches that
> are there now, and producing a better one.

... although it seems that the interface in Scipy now is a much more
lower-level one --- and does not have the parameter convenience
abstraction, which seems to be the main point in lmfit, and is
orthogonal to what's currently in. Now that would be a rather useful
addition, one just would have to figure out how to make it work nicely
also with the scalar optimizers.

Pauli Virtanen

More information about the SciPy-User mailing list