Created
September 1, 2016 00:09
-
-
Save aneesha/dabb020af18178c9c1cb62c32418a818 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.datasets import fetch_20newsgroups | |
dataset = fetch_20newsgroups(shuffle=True, random_state=1, remove=('headers', 'footers', 'quotes')) | |
documents = dataset.data |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment