caltech machine learning homework