text_plain_output_1.png
from sklearn.preprocessing import StandardScaler

from sklearn.svm import SVC

from sklearn.preprocessing import StandardScaler
sc = StandardScaler()
X_train = sc.fit_transform(X_train)
X_test = sc.fit_transform(X_test)

from sklearn.svm import SVC
svclassifier = SVC(kernel='linear')
svclassifier.fit(X_train, y_train)
y_pred = svclassifier.predict(X_test)
svclassifier.score(X_test, y_test)