Skip to content

Instantly share code, notes, and snippets.

@aneesha
Created September 1, 2016 00:09
Show Gist options
  • Save aneesha/dabb020af18178c9c1cb62c32418a818 to your computer and use it in GitHub Desktop.
Save aneesha/dabb020af18178c9c1cb62c32418a818 to your computer and use it in GitHub Desktop.
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