machine learning homework