View Single Post
Old 04-15-2012, 06:59 PM
yaser's Avatar
yaser yaser is offline
Join Date: Aug 2009
Location: Pasadena, California, USA
Posts: 1,478
Default Re: Linear regression - constructing X matrix

Originally Posted by folktheory View Post
Hello, I have a pretty straightforward question.

When we make the X matrix (that we then use to obtain X-dagger), should we include the x0's in there (that is, a column of ones) or do we leave those out?

Yes, the x_0=1 coordinate is included in all data points {\bf x}_n, so there is a column of 1's in the matrix {\rm X}.
Where everyone thinks alike, no one thinks very much
Reply With Quote