[EMAIL PROTECTED] wrote:
> Hi Dave!
>
>> <>
>>
>> Hi Bernhard,
>> I am just starting to learn Python; could you plz tell me specifically
>> the introduction(s) you have in mind?
>>
>> TIA,
>> DaveB
>
> Take a look at the documenation section on www.scipy.org.
>
> Especially the old NumPy documen
Hi Dave!
> <>
>
> Hi Bernhard,
> I am just starting to learn Python; could you plz tell me specifically
> the introduction(s) you have in mind?
>
> TIA,
> DaveB
Take a look at the documenation section on www.scipy.org.
Especially the old NumPy documentation (follow link to NumPy tutorial)
and th
Andrew McLean wrote:
> Bernhard,
>
> Levenberg-Marquardt is a good solution when you want to solve a general
> non-linear least-squares problem. As Robert said, the OPs problem is
> linear and Robert's solution exploits that. Using LM here is unnecessary
> and I suspect a fair bit less efficien
Bernhard,
Levenberg-Marquardt is a good solution when you want to solve a general
non-linear least-squares problem. As Robert said, the OPs problem is
linear and Robert's solution exploits that. Using LM here is unnecessary
and I suspect a fair bit less efficient (i.e. slower).
- Andrew
[EMA
Hi Robert,
I'm using the scipy package for such problems. In the submodule
scipy.optimize there is an implmentation of a least-square fitting
algorithm (Levenberg-Marquardt) called leastsq.
You have to define a function that computes the residuals between your
model and the data points:
import s
[EMAIL PROTECTED] wrote:
> Hi all,
>
> I am seeking a module that will do the equivalent of linear regression in
> 3D to yield a best fit a plane through a set of points (X1, Y1, Z1), (X1,
> Y1, Z1),... (Xn, Yn, Zn).
>
> The resulting equation to be of the form:
>
> Z = aX + bY + c
>
> The functi
[EMAIL PROTECTED] wrote:
> Hi all,
>
> I am seeking a module that will do the equivalent of linear regression in
> 3D to yield a best fit a plane through a set of points (X1, Y1, Z1), (X1,
> Y1, Z1),... (Xn, Yn, Zn).
>
> The resulting equation to be of the form:
>
> Z = aX + bY + c
>
> The fun
Hi all,
I am seeking a module that will do the equivalent of linear regression in
3D to yield a best fit a plane through a set of points (X1, Y1, Z1), (X1,
Y1, Z1),... (Xn, Yn, Zn).
The resulting equation to be of the form:
Z = aX + bY + c
The function I need would take the set of points and r