Skip to content

Instantly share code, notes, and snippets.

View vsingh58's full-sized avatar

Venu Kanaparthy vsingh58

  • ESRI
  • California
View GitHub Profile
@vsingh58
vsingh58 / 0.setup.sh
Last active August 29, 2015 14:06 — forked from ceteri/0.setup.sh
# using four part files to construct "minitweet"
cat rawtweets/part-0000[1-3] > minitweets
# change log4j properties to WARN to reduce noise during demo
mv conf/log4j.properties.template conf/log4j.properties
vim conf/log4j.properties # Change to WARN
# launch Spark shell REPL
./bin/spark-shell
import nltk
nltk.download()
## use nltk.download() within a Python prompt to
## download the `punkt` data
## Anaconda is recommended, to pick up NumPy, NLTK, etc.
## http://continuum.io/downloads
## this also requires TextBlob/PerceptronTagger
@vsingh58
vsingh58 / build.log
Last active August 29, 2015 14:06 — forked from ceteri/build.log
bash-3.2$ git show | head
commit d78b48fffff32898a9f76e94923d45a84d7e330e
Author: Paco Nathan <ceteri@gmail.com>
Date: Sat Mar 16 19:11:46 2013 -0700
fixed cmd line opts to allow for a different label field, for the confusion matrix calculation
diff --git a/README.md b/README.md
index ed10626..2e8996e 100644
--- a/README.md
@vsingh58
vsingh58 / kmeans.py
Last active August 29, 2015 14:06 — forked from ceteri/kmeans.py
print(__doc__)
from time import time
import numpy as np
import pylab as pl
from sklearn import metrics
from sklearn.cluster import KMeans
from sklearn.datasets import load_digits
from sklearn.decomposition import PCA
  1. General Background and Overview
@vsingh58
vsingh58 / Graphing
Last active August 29, 2015 14:07 — forked from msund/Graphing
{
"metadata": {
"name": "Three new matplotlib plots"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
@vsingh58
vsingh58 / file.md
Last active August 29, 2015 14:07 — forked from nicolewhite/file.md

Datasets for Graph Hack 2014.

All stores are Neo4j 2.1.3.

Transportation

What is related, and how?

Flight	ORIGIN Airport
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.