Introduction
Last updated
Last updated
Polynomial Regression is an extension where the relationship between variables is non-linear. Polynomial regression transforms input variables to higher powers (e.g., ) 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 is:
where:
• is the dependent variable,
• are the coefficients,
• represent the transformed input features up to the -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.