Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
# transform the train and test data
train_idf = tfidf_vectorizer.transform(train.tweet)
test_idf = tfidf_vectorizer.transform(test.tweet)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment