Added SVM training