Created
May 31, 2019 05:58
-
-
Save shubham-singh-ss/fae2a0032db371d76fffe9ff75374fba 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
from sklearn.feature_extraction.text import CountVectorizer | |
cv = CountVectorizer(max_features = 1500) | |
X = cv.fit_transform(corpus, corpus1).toarray() | |
y = df_new.iloc[:, 3].values |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment