add svm_train and svm_test