Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
# create a TF-IDF vectorizer object
tfidf_vectorizer = TfidfVectorizer(lowercase= True, max_features=1000, stop_words=ENGLISH_STOP_WORDS)
# fit the object with the training data tweets
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment