Practical machine learning assignment