[SciPy-User] Problems with optimize.leastsq and curve_fit
Tue Mar 19 16:39:01 CDT 2013
On Tue, Mar 19, 2013 at 12:56 PM, Pauli Virtanen <firstname.lastname@example.org> wrote:
> 19.03.2013 21:47, Paul Hobson kirjoitti:
> > I guess I don't quite understand how to use the functions properly since
> > they're not returning meaningful results on what should be a pretty
> > trivial linear fit. My initial thought is that they're being tripped up
> > by my `x` variable not being uniformly spaced.
> The problem is the use of float32 rather than float64. This is a bug,
> which was fixed in 0.12.0.
Thanks for the info and the prompt reply. This is the info I need.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the SciPy-User