Modify SVM training