Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Devanshchowdhury2212/62db5375d97758d25aa5cc7637326d20 to your computer and use it in GitHub Desktop.
Save Devanshchowdhury2212/62db5375d97758d25aa5cc7637326d20 to your computer and use it in GitHub Desktop.
sequence = tokenizer.texts_to_sequences(X_test_transformed)
X_test_transformed_seq= keras.preprocessing.sequence.pad_sequences(sequence, maxlen=150)
model.evaluate(X_test_transformed_seq,y_test)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment