Assignment for Coursera's Practical Machine Learning class