Skip to content

Instantly share code, notes, and snippets.

View iamprakashom's full-sized avatar
🍺
Building Neobank for SMEs & Startups.

Om Prakash iamprakashom

🍺
Building Neobank for SMEs & Startups.
View GitHub Profile

The Neo4j Knowledge Graph

Our friends of Neueda have been doing more and more work with Neo4j. One of the artefacts of that work (see their github repo for more info) has been an unbelievably wonderful page called Awesome Neo4j. This is a webpage with links and other resources that can be useful for people doing Neo4j projects - whether you are looking for tips and tricks, developer resources, language bindings, frameworks, visualization solutions, graph algorithm components, etc…​ all kinds of links are on this page…​ Truly great work of all the Contributors. And inspiring at that.

A Google Sheet as the main repository

Based on that work, I have tried to add some additional links that I use/know about on

Using Zeppelin with Neo4j to analyse the FinCEN Files

Last week, we got another great and widely publicised case of Graph Databases' usefullness throw our way. The ICIJ published their FinCEN Files research, and on top of allowing you to explore the data on their website they also published an anonymised subset of the data as a series of CSV/JSON files. My friends and colleagues Michael Hunger, Will Lyon and the rest of the team, helped with the process of making this subset available as a Neo4j database (see this github repo), and there's even a super easy FinCEN Files Neo4j Sandbox that you can spin up in no time for some investigation fun.

So of course I had to take this data for a spin myself - it seems real

@iamprakashom
iamprakashom / Task 3.ipynb
Created October 25, 2017 10:07
Edelweiss Investement EDA Task
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@iamprakashom
iamprakashom / install_anaconda.sh
Created September 20, 2017 16:59
Install anaconda with Python 3.5 on EC2 Instance while Initializing instance.
#!/bin/bash
##############################
# check if installation is already done in user's dir
USER_DIR=/home/scratch/$USER/anaconda3
if [ -d $USER_DIR ] ; then
echo You already have a directory called $USER_DIR
echo You have either already installed it, or you can remove this
echo directory and rerun this script if you are trying to reinstall.
exit 1
@iamprakashom
iamprakashom / install_anaconda.py
Created September 11, 2017 00:00 — forked from curioswati-zz/install_anaconda.py
Installer script for Anaconda in ubuntu 14.04
#!/usr/bin/env python
import subprocess
import optparse
import platform
#---------------------------------------Globals----------------------------------------------------
install = []
PLATFORM = platform.system()
ARCHITECTURE = platform.architecture()[0]
@iamprakashom
iamprakashom / eblow.py
Created August 30, 2017 10:08 — forked from calippo/eblow.py
[scikit-learn/sklearn, pandas] Plot percent of variance explained for KMeans (Elbow Method)
import pandas as pd
import matplotlib.pyplot as plt
import seaborn
from sklearn.cluster import KMeans
import numpy as np
from scipy.spatial.distance import cdist, pdist
def eblow(df, n):
kMeansVar = [KMeans(n_clusters=k).fit(df.values) for k in range(1, n)]
centroids = [X.cluster_centers_ for X in kMeansVar]
@iamprakashom
iamprakashom / pca_animation.m
Created August 18, 2017 18:36 — forked from anonymous/pca_animation.m
Matlab code to produce PCA animations
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Matlab code to produce PCA animations shown here:
% http://stats.stackexchange.com/questions/2691
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Static image
clear all
rng(42)
@iamprakashom
iamprakashom / Installing-xgboost.md
Created July 16, 2017 04:54 — forked from DanielBeckstein/Installing-xgboost.md
How to install xgboost for Python on Linux

Commands Linux-Terminal

How to use inside python scripts