Machine Learning HW #7 Solution