Skip to content

Instantly share code, notes, and snippets.

@damzaky
Last active April 6, 2020 10:41
Show Gist options
  • Save damzaky/5327193f52980dc6365e7ca1b5df087e to your computer and use it in GitHub Desktop.
Save damzaky/5327193f52980dc6365e7ca1b5df087e to your computer and use it in GitHub Desktop.
import pandas as pd
from sklearn.feature_extraction.text import CountVectorizer
from sklearn import naive_bayes
data = pd.read_csv("imdb2k.csv")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment