Max Halford


  • March, 2016

    Recursive polygons with JavaScript

    I like to think I’m interested in Modern Art. I enjoy looking at the stuff that was made at the beginning of the 20th century and thinking how it is still shaping today’s style.I’m not an expert, it’s just a hobby of mine. I especially like the Ce...

  • September, 2015

    The Naïve Bayes classifier

    The objective of a classifier is to decide to which class (also called label) to assign an observation based on observed data. In supervised learning, this is done by taking into account previous classifications. In other words if we know that cer...

  • August, 2015

    An introduction to genetic algorithms

    The goal of genetic algorithms (GAs) is to solve problems whose solutions are not easily found (ie. NP problems, nonlinear optimization, etc.). For example, finding the shortest path from A to B in a directed graph is easily done with Djikstra’s a...

  • July, 2015

    Setting up a droplet to host a Flask app

    After having worked for some weeks on the OpenBikes website, it was time to put it online. Digital Ocean seemed to provide a good service and so I decided to give it a spin. Their documentation is quite good but it doesn’t cover exactly everything...

  • June, 2015

    Visualizing bike stations live data

    Recently some friends and I decided to launch, a website for visualizing (and later on analyzing) urban bike traffic. We have a lot of ideas that we will progressively implement. Anyway, the point is that all of it started with me fid...