learning/predicting using svm