Exercise for a Machine Learning Class