own svm classifier