Say we have a dataset with 2 features and it cannot be fit using Linear Regression.
We may want to use Multivariate Polynomial Regression. The equation is given by:
g(x2,x1∣w5,w4,w3,w2,w1,w0)=w5x22+w4x12+w3x1x2+w2x2+w1x1+w0
This is a degree 2 polynomial and we need to estimate w5,w4,w3,w2,w1,w0 that minimize the squared error.
Note: In some cases, this can be simplified to a Linear Regression (as shown in Simple Polynomial Regression) by simply adding appropriate features to the dataset.