Practical Machine Learning assignment