Created
May 21, 2017 15:13
-
-
Save Tathagatd96/b45a7a81f1da07aaa84fcca36d99b5d3 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
#tf-idf | |
tfidf_transformer=TfidfTransformer() | |
X_train_tfidf=tfidf_transformer.fit_transform(X_train_counts) | |
print(X_train_tfidf.shape) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment