Created
May 24, 2017 10:10
-
-
Save Tathagatd96/b98c26e83b64a6ce18684b57e8f0c39a 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
sklearn.datasets.load_files("C://Users/Tathagat Dasgupta/Desktop/ML Project/20news-18828") | |
categories=['alt.atheism','soc.religion.christian','comp.graphics','sci.med'] | |
print "hello" | |
twenty_train=fetch_20newsgroups(subset='train',categories=categories,shuffle=True,random_state=42) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment