I was taught previously in statistics class, that the equation for simple linear regression model :


I recently took up a course on machine learning and in that the equation is represented by:

H theta(x)=theta0+theta1*x1

Moreover in the statistics class to measure the performance of the model, we used R-squared or adjusted R-squared, which was just SSR/SST, but here we use the cost function, which is 1/2m(H(x theta)-y theta)squared. I understand that the intuition behind everything still remains the same, with least squares regression being the technique, but why the change in the symbols, it was very easy in stats but here in machine learning they look to be a little complex. So why did they do that?


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.