copy svm from hw5