Skip to content

Instantly share code, notes, and snippets.

View ilanman's full-sized avatar

Ilan Man ilanman

  • Brooklyn Data Co.
  • New York
View GitHub Profile
@ilanman
ilanman / GP.gif
Last active November 18, 2023 13:31
Gaussian Proccess
GP.gif
@ilanman
ilanman / README.md
Last active January 16, 2020 10:21
Probability Distributions

This visualization generates paths of probability distributions from the heatmap example. It also uses Twitter Bootstrap for styling.

Next iteration will include input from user to change mu (mean), sigma (standard deviation), lambda (rate parameter for an exponential, x_m and alpha for the pareto and alpha and beta for the gamma.

@ilanman
ilanman / .gitignore
Last active January 16, 2020 10:19
Predicting NFL draft pick based on combine stats
*.csv
@ilanman
ilanman / README.md
Last active January 16, 2020 10:18
Interactive ROC curve

This gist has the code to visually display the results of a binary classifier on tennis statistics, using an interactive ROC curve.

@ilanman
ilanman / README.md
Last active January 16, 2020 10:18
Choropleth of Medicare payments

This is a choropleth of Medicare payments by state, using the data recently released by the Center for Medicare and Medicaid Services. I used a kmeans algorithm to determine that 3 clusters explains roughly 90% of the variation in the data.

@ilanman
ilanman / README.md
Last active January 16, 2020 10:12
Congressional Spite

This graph looks at how the Senate and House Democrats and Republicans have voted with or against the President over the years. It's clear what the President's party is by Congress' voting patterns. More info here. Main inspiration was this.

@ilanman
ilanman / README.md
Last active January 16, 2020 10:09
Heat map with tool-tip and random values.

This is a heatmap inspired by this Trulia recreation, with the following additions:

  1. This iteration uses [colorBrewer.js](https://github.com/mbostock/d3/blob/master/lib/colorbrewer/colorbrewer.js) for the color scheme.
  2. Tool-tips using [tool-tips](http://labratrevenge.com/d3-tip/) to show the value.
  3. The user can update the tile values. The values are generated from a probability distribution. I created a short script (rand.js) that generates a Normal random variable using the Box-Muller transformation, an Exponential distribution and a Logistic distribution.
@ilanman
ilanman / README.md
Last active January 16, 2020 10:08
Social media popularity

This is an update to a ggplot version of the same graphic. It's looking at more popular social media mentions in various NY Times sections, over time. More info here.
Main inspiration was this

@ilanman
ilanman / Adaboost.ipynb
Last active March 13, 2016 19:34
This gist stores the code used for this blog post about Adaboost. https://ilanthedataman.squarespace.com/the-data-game/2015/10/29/wisdom-of-crowds
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ilanman
ilanman / README.md
Last active January 2, 2016 21:59
Congressional Bills

This chart compares congressional workload over the years to the appropriations they are given. There is also the option of looking at the U.S. CPI over the same time to highlight the discrepancy. I am using d3-tip for my tooltips. More context around this chart can be found on my blog post.