I did one project to fit polynomial regression and the data has nominal values. I converted them to one-hot encoding.
Can we use polynomial features for one hot encoded x variables to fit polynomial regression?
I tried using polynomial features without separate one hot encoded variables and with separating one hot encoded variables. I got different RMSE errors. The one with poly features keeping one hot encoded giving me a large RMSE error.
Which one to choose?