Machine learning assigment 3