add svm training & testing scripts