Skip to content

Instantly share code, notes, and snippets.

@sahil280114
Created August 15, 2018 18:29
Show Gist options
  • Save sahil280114/f85004a3d926c0018109c7ac6ee3bbc0 to your computer and use it in GitHub Desktop.
Save sahil280114/f85004a3d926c0018109c7ac6ee3bbc0 to your computer and use it in GitHub Desktop.
import re
import coremltools
import pandas as pd
import numpy as np
from nltk.corpus import stopwords
from nltk import word_tokenize
from string import punctuation
from sklearn.feature_extraction import DictVectorizer
from sklearn.pipeline import Pipeline
from sklearn.svm import LinearSVC
from sklearn.model_selection import GridSearchCV
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment