Introduction
Polynomial Regression is an extension where the relationship between variables is non-linear. Polynomial regression transforms input variables to higher powers (e.g., x2,x3x2,x3x2,x3) but remains a linear model concerning the parameters, making it suitable for more complex patterns.
In polynomial regression, we aim to model a non-linear relationship by transforming the input variable x to include higher powers. The model equation for a polynomial regression of degree d is:
y=β0+β1x+β2x2+β3x3+⋯+βdxd+ϵ where:
• y is the dependent variable,
• β0,β1,β2,…,βd are the coefficients,
• x,x2,x3,…,xd represent the transformed input features up to the d-th degree,
• ϵ is the error term.
This transformation allows the model to fit a curve that better matches non-linear patterns in the data.
Example:
Predicting energy consumption based on home size.

Last updated