[Tutor] Fwd: Re: curve fitting
Eike Welk
eike.welk at gmx.net
Wed Jul 29 19:23:49 CEST 2009
Forwarding Skipper's other message, which must have somehow been lost:
---------- Forwarded Message ----------
Subject: Re: [Tutor] curve fitting
Date: Wednesday 29 July 2009
From: Skipper Seabold <jsseabold at gmail.com>
To: Eike Welk <eike.welk at gmx.net>
On Wed, Jul 29, 2009 at 9:42 AM, Eike Welk<eike.welk at gmx.net> wrote:
> On Wednesday 29 July 2009, Bala subramanian wrote:
>> Friends,
>>
>> I wish to do some curve fitting with python by defining my own
>> equations. Could someone please give some guidance or examples on
>> doing the same.
>
What kind of curve fitting exactly? Linear equations? Can you
provide an example?
> You can use the Numpy/Scipy libraries for that. I think they have
> examples for curve fitting on their website. But unfortunately the
> website is down (or my Internet is broken).
>
> http://www.scipy.org/
>
There were some problems with the site yesterday as well. Scipy would
be a good place to start. I am in the home stretch of completing a
google summer of code project to integrate some mostly linear
statistical models (different flavors of least squares fitting,
generalized linear models, robust statistics, generalized additive
models, etc.) into SciPy, which might also be of interest to you
depending on your needs (some info here
<http://scipystats.blogspot.com/>). There are also some "cookbook"
examples from the scipy page that show some recipes for doing some
basic curve fitting (OLS, interpolation) with the available tools.
> There are also special mailing lists for Numpy/Scipy/Matplotlib
users,
> to which you should subscribe. This one would be good for your
> question:
> http://projects.scipy.org/mailman/listinfo/scipy-user
>
>
> If I understand you right, you have a formula with some parameters.
> Now you are searching for parameter values so that the formula
really
> goes through the data points. This is a task for optimization
> functions.
>
> Kind regards,
> Eike.
> _______________________________________________
> Tutor maillist - Tutor at python.org
> http://mail.python.org/mailman/listinfo/tutor
>
-------------------------------------------------------
More information about the Tutor
mailing list