I'm trying to create a multivariable polynomial regression model from scratch but I'm getting kind of confused by how to structure it.
So, I have an array of feature vectors such that each vector can be displayed like so:
[height, weight, age]
I know with multivariable linear regression I would create an algorithm like so:
Where x0 would be the first element of each in the feature vector.
So for multiple variable polynomial regression would it go something like this:
y = B0+B1*x0+B2*x1**2+...Bn*Xn**d
Where d is the degree of the polynomial. Apologies if this is painstakingly obvious and formatted badly, I'm just a small bit lost.