Skip to content

Instantly share code, notes, and snippets.

Created August 6, 2021 06:58
What would you like to do?
from sklearn.datasets import fetch_20newsgroups_vectorized
from sklearn.naive_bayes import MultinomialNB
trainingSet = fetch_20newsgroups_vectorized(subset="train")
testSet = fetch_20newsgroups_vectorized(subset="test")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment