Linear Regression and x0
For our linear regression implementation, do we include x0 in as part of our original X matrix? If we do, that means our original vector X=(x0, x1, x2) would then be transposed to XT=(x2, x1, x0).

Re: Linear Regression and x0
Quote:

Re: Linear Regression and x0
Quote:

Re: Linear Regression and x0

Re: Linear Regression and x0
Without x0=1, our line (or hyperplane) would be constrained to go through the origin, which would very rarely be useful.

All times are GMT 7. The time now is 10:17 AM. 
Powered by vBulletin® Version 3.8.3
Copyright ©2000  2021, Jelsoft Enterprises Ltd.
The contents of this forum are to be used ONLY by readers of the Learning From Data book by Yaser S. AbuMostafa, Malik MagdonIsmail, and HsuanTien Lin, and participants in the Learning From Data MOOC by Yaser S. AbuMostafa. No part of these contents is to be communicated or made accessible to ANY other person or entity.