text_html_output_1.png
from sklearn.metrics import accuracy_score, recall_score

from sklearn.svm import SVC

from sklearn.svm import SVC
from sklearn.metrics import accuracy_score, recall_score
svm_clf = SVC()
svm_clf.fit(X_train_res, y_train_res)
svm_clf_preds = svm_clf.predict(X_test_res)
print('SVM Classifier accuracy on validation data : ', recall_score(y_test_res, svm_clf_preds))
print('SVM Classifier accuracy on validation data : ', accuracy_score(y_test_res, svm_clf_preds))