to use poly.transform() for test dataset instead instead of fit_transform()
I notice that the polynomial model is fit and transformed on the training dataset and then fit_transform() again used on the test dataset which actually shouldn't be done since we basically shouldn't fit anything on test dataset.
1
vote
Essi Alizadeh
shared this idea