from sklearn.svm import SVC # "Support vector classifier" classifier = SVC(kernel='linear', random_state=0) classifier.fit(x_train, y_train) #Predicting the test set result y_pred= classifier.predict(x_test)