Parametric Estimation for Simple Polynomial Regression
Last updated
Last updated
In cases where the data cannot be fit using a linear decision boundary, we may want to use polynomial regression.
Say we want to use a degree 2 polynomial. The equation can be given by:
Our aim is to find values for that minimize the squared error
Note: Given a dataset where i.e. where (1 dimension), to find the polynomial of degree 2 that minimizes the squared error, we can construct a related dataset with inputs in (2 dimensions) with the second dimension , and then use simple linear regression on this new dataset to obtain that minimize the squared error, and finally output with these values as the best 2 degree polynomial that fits the original dataset.
This can be extended to higher degree polynomials as well.