Prediction Model - predicting from all the previous data