machine learning course homework final project