Practical Machine Learning course of coursera : Prediction Assignment Writeup