For given N Data points
We search for a Regression Curve with M basis polynomials
Where is the number of data-points, points considered for regression
Quadratic Error
Where,
- Weights used to fit the regression model to the given function.
- Evaluation of the basis function at the given data points.
Note: The basis function for a polynomial regression is $s_i(x)=x^i$.
- Is the dependent variable of the given data set.