Professional Documents
Culture Documents
2-Linear Regression Training and Polynomial Regression
2-Linear Regression Training and Polynomial Regression
In order to find the solution to a regression problem, one needs to minimize the cost-function. An efficient way to do it is by
differentiating the cost-function and comparing the derivative to zero.
When the cost-function is the square error, the derivative is a linear function of the error, and if the model is linear in its
parameters, a linear function of the parameters. So, finding the regression coefficients, when using square error (and the model
is linear) becomes solving a linear set of equations. And that is relatively easy to do.
why normal distribution? --->> because prediction of model does not deviate large
means least error and because most of the data are in center means SD is less