prediction on normalized data #357
-
I have just finished this section: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
ok i got this answer from Andrei Neagoie that worked fine. So basically first you need to convert the text into one hot vectors and then normalise it. 2 things to note here, The order of columns in train and test should be the same. Second, When normalising ensure that you are transforming your features based on what you fit to the training data. |
Beta Was this translation helpful? Give feedback.
ok i got this answer from Andrei Neagoie that worked fine.
So basically first you need to convert the text into one hot vectors and then normalise it. 2 things to note here, The order of columns in train and test should be the same. Second, When normalising ensure that you are transforming your features based on what you fit to the training data.