Caltech Machine Learning Class Homework