Skip to content

Instantly share code, notes, and snippets.

View WillLewis's full-sized avatar

Will Lewis WillLewis

  • WebMocha, SUPEROWN, REUP
  • Los Angeles
  • X @wxltwts
View GitHub Profile
@WillLewis
WillLewis / pySQLite_NaiveBayesClassifier.ipynb
Created October 30, 2013 22:46
The program uses python SQLite database structure to store documents and a Naive Bayes Classifier to parse the text and classify them
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@WillLewis
WillLewis / cPickle_data.ipynb
Created October 30, 2013 23:27
Using object created in file system along with regex and pickle to store data thats not persistent
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@WillLewis
WillLewis / CGI.FieldStorage data structure.ipynb
Created October 30, 2013 23:39
CGI.FieldStorage data structure
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@WillLewis
WillLewis / JSON_webscrape.ipynb
Created October 30, 2013 23:50
JSON simple webscrape created stock price analysis
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@WillLewis
WillLewis / LinearRegression.ipynb
Created October 30, 2013 23:54
Linear regression using Pandas Series and Dataframes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@WillLewis
WillLewis / knn_classifier.ipynb
Created October 30, 2013 23:57
This is a simple KNN classifier using iris dataset
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@WillLewis
WillLewis / LogisticRegression_Twitter.ipynb
Created October 31, 2013 00:01
This is a logistic regression of a Twitter dataset used to determine feature explanation of popularity. Still working out the bugs.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@WillLewis
WillLewis / PEOPLECGI.ipynb
Created October 31, 2013 00:28
Creates a database on server (local) using python shelve object accessed through a web-interface
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@WillLewis
WillLewis / people2csv.py
Created May 12, 2016 22:47 — forked from wgins/people2csv.py
Mixpanel - Exporting people profiles to CSV
''' people export'''
import base64
import csv
import sys
import time
import urllib # for url encoding
import urllib2 # for sending requests
try: