Final project for Coursera Practical Machine Learning class.