[Numpy-discussion] linear algebra help

Charles R Harris charlesr.harris@gmail....
Mon May 18 09:55:30 CDT 2009


2009/5/18 Stéfan van der Walt <stefan@sun.ac.za>

> 2009/5/18 Sebastian Walter <sebastian.walter@gmail.com>:
> > B = numpy.dot(A.T, A)
>
> This multiplication should be avoided whenever possible -- you are
> effectively squaring your condition number.
>

Although the condition number doesn't mean much unless the columns are
normalized. Having badly scaled columns can lead to problems with lstsq
because of its default cutoff based on the condition number.

Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/numpy-discussion/attachments/20090518/334c65da/attachment.html 


More information about the Numpy-discussion mailing list