Homework#6 Q2
hi everyone,
Can anyone please explain me how to transform the data using the nonlinear transformation is given by
phi(x1, x2) = (1, x1, x2, x21, x22 , x1x2, x1 − x2, x1 + x2)
I am just confused how to use that in my code. I mean for the new values which function to use for transformation?
is it x1=x1^2 and x2=x^2 and so on or something else. I am sure i am missing a big concept here. Any help would be great.
Thanks in advance.
