Code accompanying the book "Machine Learning for Hackers"