Skip to content

Instantly share code, notes, and snippets.

@andreaschandra
Created June 27, 2019 12:19
Show Gist options
  • Save andreaschandra/c2e8911fcae1fe069bd3577907c90f0f to your computer and use it in GitHub Desktop.
Save andreaschandra/c2e8911fcae1fe069bd3577907c90f0f to your computer and use it in GitHub Desktop.
import pandas as pd
import numpy as np
import glob
import re
import pickle
import seaborn as sns
import string
from nltk.tokenize import word_tokenize
from sklearn.feature_extraction.text import CountVectorizer
from sklearn.naive_bayes import MultinomialNB
from sklearn.metrics import f1_score, recall_score, precision_score, confusion_matrix
%matplotlib inline
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment