Skip to content

Instantly share code, notes, and snippets.

View blacki's full-sized avatar

Blacki Migliozzi blacki

  • The New York Times
  • New York City
View GitHub Profile

Generating random points to get a sense of the shape and distribution.

@blacki
blacki / README.md
Last active January 2, 2016 21:52
Clustered points

Generating clusters of random points

@blacki
blacki / README.md
Last active January 3, 2016 15:19
Moiré-rotation

Moiré pattern resulting from rotation of random points. As described by Tadashi Tokieda on Numberphile

@blacki
blacki / README.md
Last active January 3, 2016 15:19
Moiré-rotation-translate

Circular Moiré pattern resulting from translating as well as rotating random points. As described by Tadashi Tokieda on Numberphile

@blacki
blacki / README.md
Last active January 3, 2016 15:20
Moiré-rotation-translate-scale

Moiré spiral patterns resulting from translating, rotating, as well as scaling random points. As described by Tadashi Tokieda on Numberphile

@blacki
blacki / README.md
Last active January 19, 2016 15:15
K-Means Algorithm

K-Means Unsupervised Learning Algorithm. Also see K-Means Equilibria here.

@blacki
blacki / README.md
Last active August 31, 2016 16:21
CO2 - Keeling Curve

Keeling Curve

click chart

@blacki
blacki / README.md
Last active April 24, 2017 11:28
Visualizing K-Means equilibria

Visualizing stable/unstable equilibria in K-Means unsupervised learning algorithm. Each run follows the path of the mean converging as shown here

@blacki
blacki / .gitignore
Created December 6, 2017 21:08 — forked from 1wheel/.gitignore
custom d3-selection bundle
.DS_Store
node_modules
npm-debug.log
yarn.lock
package.lock
@blacki
blacki / dev-environment.md
Last active June 14, 2019 00:19
Managing a Python Dev Environment w/ Virtual Env

Dev Environment

I do the following on a per project basis.

Install virtualenv

If you don't have virtualenv installed, install it globally by running pip install virtualenv from any folder. If that didn't work because you have no pip try pip3 install virtualenv instead.

Create a new python for the project