Created
January 22, 2021 16:29
-
-
Save AyishaR/706b48ab43168df59654087650de5626 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cv = CountVectorizer(ngram_range = (1,1), max_features=20000) | |
train_bow = cv.fit_transform(train_df['Cleaned']) | |
val_bow = cv.transform(val_df['Cleaned']) | |
test_bow = cv.transform(test_df['Cleaned']) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment