I have a data set x1 & x2 which cannot be separated by a straight line through the plot so need to map the features into polynomial terms of x1 & x2 upto the SIXTH power. I created the model using Logistic regression & selected the regularization but would like to know how to create polynomial terms of x1 & x2 upto the SIXTH power. Any help on this would be appreciated.