Re: [Numpy-discussion] Help with linear_least_squares

2007-03-28 Thread Christopher Barker
Brad Malone wrote: > Hi, I'm running into an error with linear least squares that I'm not > sure what to do about. For reference, I'm trying to fit a curve > corresponding to the example at the bottom of this wikipedia page: > http://en.wikipedia.org/wiki/Linear_least_squares > > My code loo

Re: [Numpy-discussion] Help with linear_least_squares

2007-03-28 Thread Travis Oliphant
Brad Malone wrote: > Hi, I'm running into an error with linear least squares that I'm not > sure what to do about. For reference, I'm trying to fit a curve > corresponding to the example at the bottom of this wikipedia page: > http://en.wikipedia.org/wiki/Linear_least_squares > You are mixing

[Numpy-discussion] Help with linear_least_squares

2007-03-28 Thread Brad Malone
Hi, I'm running into an error with linear least squares that I'm not sure what to do about. For reference, I'm trying to fit a curve corresponding to the example at the bottom of this wikipedia page: http://en.wikipedia.org/wiki/Linear_least_squares My code looks like this: from numpy import *