Skip to content

prediction on normalized data #357

Answered by filipposkar
filipposkar asked this question in Q&A
Discussion options

You must be logged in to vote

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.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by filipposkar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant