SVM pipeline