modify svm train