progress on machine learning ex4