svm predict code added