Coursera - practical machine learning - assignment