archive

Extracing city blocks from a graph

3 minute read

Finding blocks and defining neighborhoods in city data is surprisingly non-trivial. Fundamentally, it amounts to finding the smallest set of rings (SSSR), wh...

ML on Rails

4 minute read

Learn to build a simple Rails web application that calls a machine learning model and exposes the result with a click of a button.

Non-ergodicity in a simple coin game

6 minute read

Based on a seminal talk by Ole Peters, I illustrate the fundamental difference between an ergodic and non-ergodic process using a simple coin game.