Coursera machine learning exercise. Just a record on my own work.