Submission for Coursera's practical machine learning course