basic svm classifier