Updated using svm and nnet to get predicted probability.