Assignment for the Coursera Practical Machine Learning MOOC