add SVM training