582669 Supervised Machine Learning (Spring 2014) Homework 5, sample solutions