Skip to content

Instantly share code, notes, and snippets.

View Jverma's full-sized avatar

Janu Verma Jverma

View GitHub Profile
@Jverma
Jverma / README.md
Created May 21, 2016 16:38
International Travel Visa Topology — Hive Plot Visualization

International Travel Visa Topology — Hive Plot Visualization

@Jverma
Jverma / README.md
Created May 21, 2016 01:39
Visa Refused

Visa Refused

@Jverma
Jverma / SetUp.md
Last active April 28, 2016 13:23
Conda environment for TensorFlow

Conda development environment for a project involving Google TensorFlow.

  • Setup the environment
conda env create
  • Activate the environment
source activate ENV_NAME
@Jverma
Jverma / README.md
Last active April 19, 2016 21:04
Emoji Timeline for Cultural References in Murakami

Emoji Timeline of cultural references in Haruki Murakami's The Elephant Vanishes with on click descrrption.

Data source: Reddit discussion compiled by MufasaSimba

@Jverma
Jverma / README.md
Last active February 7, 2016 19:06
Exploration of K-Means clustering for PCA and tSNE

Exploration of K-Means clustering for various projection methods

@Jverma
Jverma / README.md
Created January 30, 2016 21:34
Understanding PageRank in a network graph

Visualizing pagerank of nodes in a graph.

Example studied is that of extracting most informative sentences from a textual document for auto summarization. Uses the LexRank algorithm. A graph G is created where :

  • Nodes: All sentences of the document.
  • Edges: There is an edge between two nodes if the frequency vectors of the corresponding sentences have (cosine) similarity above a threshold. For more details on SentenceGraph, refer to TextGraphics

LexRank asserts that PageRank (now called LexRank) scores of sentences in such a graph can be used to rank sentences in the order of their relevance to the document. And in turn, can be used for generating a summary of teh document.

@Jverma
Jverma / Jekyll.md
Last active January 2, 2016 21:48
Instructions to set up

Instructions to set up a Jekyll blog

Requirements:

  • gem
  • Jekyll
  • bundler

Install Jekyll

gem install jekyll
@Jverma
Jverma / README.md
Created July 19, 2015 19:29
K-means clustering of wine data

I wrote a blog post for packtpub describing the K-means clustering procedure. The codes I provided were written in R, I also pointed to another blog post of mine where I use python to explain this algotithm. I decided to write a D3 visualization of the clusters.

@Jverma
Jverma / README.md
Created July 19, 2015 16:13
HighChart - line chart of the tweet sentiment score time series

Interactive line chart showing the time series of the total sentiment scores of the tweets realted to a topic extracted using search API. Sentiment on a day is the average of the sentiment scores of all the tweets realted to the given topic extracted that day.

@Jverma
Jverma / README.md
Created July 19, 2015 15:15
Sentiment Scores of Tweets

Scatterplot of sentiment scores of tweets extracted using search API.

The sentiment is calculated using AFINN scores. For more information see Twitter Sentiment Analysis

It can be seen that a lot of the tweets are neutral (zero sentiment score).