Exercises from a machine learning course