[SciPy-user] using linalg.lstsq

Robert Kern robert.kern at gmail.com
Wed May 10 23:24:53 EDT 2006


Mitchell Timin wrote:
> --- Robert Kern <robert.kern at gmail.com> wrote:

>>Okay, let's take a step back. If you are defining closest by looking at the
>>difference between the points and the plane in the z direction (that is, z_i -
>>(a*x_i + b*y_i + c)), then what I gave you is *exactly* what you asked for. I'm
>>afraid I can't really simplify it any more than that.
> 
> That is what I want, but I don't know how to put the values given above into the A and B
> matrices, and also get them into the correct shapes. 

I showed you that already. So has Alan. Twice. Can you tell us what *parts* of
our explanations are inadequate instead of making the same blanket request over
and over again?

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
 that is made terrible by our own mad attempt to interpret it as though it had
 an underlying truth."
  -- Umberto Eco




More information about the SciPy-User mailing list