Skip to content

Instantly share code, notes, and snippets.

View singhay's full-sized avatar
🐢
Exciting times!

Ayush Singh singhay

🐢
Exciting times!
View GitHub Profile
@singhay
singhay / sentiment.py
Created February 28, 2018 03:56 — forked from schinazi/sentiment.py
An end-to-end demonstration of a Scikit-Learn SVM classifier trained on the positive and negative movie reviews corpus in NLTK.
import os
import time
import string
import pickle
from operator import itemgetter
from nltk.corpus import stopwords as sw
from nltk.corpus import wordnet as wn
from nltk import wordpunct_tokenize
@singhay
singhay / live_loss_plot_keras.ipynb
Created December 7, 2017 06:07 — forked from stared/live_loss_plot_keras.ipynb
Live loss plot for training models in Keras
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.