Add svm training