AI Features

Polynomial Regression

Learn how linear regression can be used to build a polynomial regressor.

Why polynomial regression?

Until now, we’ve assumed a linear relationship between features and targets. What if the assumption of linearity doesn’t hold even approximately? The figure below shows that the relationship between a single feature, xx and a single target, yy isn’t linear in the data set.

f(x)=y^=i=0dwixif(x) = \hat{y} = \sum_{i=0}^d w_i x^i ...