Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@abhishek-shrm
Created September 22, 2020 13:21
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 abhishek-shrm/4f522ea43af002f91b57c60b1c8f5cfe to your computer and use it in GitHub Desktop.
Save abhishek-shrm/4f522ea43af002f91b57c60b1c8f5cfe to your computer and use it in GitHub Desktop.
# Converting word sequence to integer sequence
train_seq = tokenizer.texts_to_sequences(df_train['cleaned'])
test_seq = tokenizer.texts_to_sequences(df_test['cleaned'])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment