Build SVM the sklearn way