Skip to content

Instantly share code, notes, and snippets.

View bahuljain's full-sized avatar

Bahul Jain bahuljain

  • Columbia University
  • New York, NY
View GitHub Profile
@bahuljain
bahuljain / os.md
Last active December 19, 2016 21:09
OS

Chapter 6

I/O Bound Program

CPU Bound Program

Scheduling Criteria

  • CPU Utilization
  • Throughput
  • Waiting Time
  • Turnaround Time
@bahuljain
bahuljain / angular.md
Last active June 22, 2016 14:47
Angular Cheatsheet

Angular JS

Directives

  • ng-app: Load directives in Page
  • ng-controller: Load controller in an HTML element
  • ng-show: Display HTML element based on expression
  • ng-hide: Hide GTML element based on expression
  • ng-repeat: For Loop
@bahuljain
bahuljain / spark-mini-hw.md
Last active July 26, 2017 17:23
Spark Mini-Homework

Apache Spark

This will be a quick guide to get you introduced with one of the most popular and effective tools used for working with big data. Apache Spark is a cluster computing platform designed to be fast and general-purpose. On the speed side, Spark extends the popular MapReduce model to efficiently suport more types of computations, including interactive queries and stream processing.

Getting Spark

  • Unlike Hadoop, it is very easy to get Spark installed and running on your computer locally. But we have provided a pre-configured VM to get Spark and IPython notebook running quickly on your machine.
  • A VagrantFile is provided in the repository which will instantiate an Ubuntu virtual machine for you. The steps for running a vagrant VM has been explained in the previous assignment.
  • Once we have the machine up and running and you have ssh-ed into it, you will see a file spark-notebook.py in /home/vagrant directory.
  • Simply run this script using the command python spark_notebook.py. This wi
@bahuljain
bahuljain / DL-Notes.md
Last active March 20, 2016 11:09
Deep Learning & Neural Networks

Deep Learning & Neural Networks

##Linear Algebra

##Probability & Information Theory

  • Random Variables
  • Probability Distributions
    • Probability Mass Function (PMF)
  • Probability Density Function (PDF)

#Data Mining

##Knowledge Discovery in Databases

  • Types:
    • Association Rules**
    • Causality (Interestingness, Conviction)
    • Clustering
    • Classification
    • Sequential Patterns
  • Association Rules