Machine Learning Exercise 3