reset password
Author Message
wsakura
Posts: 64
Posted 21:33 Feb 05, 2015 |

Hi, I wanted to ask, for this formula: h(x)=Theta0 + Theta1*x, should the x be from col1 or col2. I wasn't sure, because the pdf says multiply with x1.

Nevermind, I think I get it. So, x1 is representing the y-intercept for the formula.
 

Last edited by wsakura at 21:48 Feb 05, 2015.
msargent
Posts: 519
Posted 12:59 Feb 06, 2015 |

A column of ones is added (x0) so that when they are multiplied by theta0, you get the y-intercept.