My personal solution for Coursera's machine learning course