homeworks machine learning class