model_SVC = SVC(C=1000,gamma=0.1, kernel='rbf')
model_SVC.fit(X_train,Y_train) #CASIA2
predictions=model_SVC.predict(X_test)
print(accuracy_score(Y_test,predictions))
print(confusion_matrix(Y_test,predictions))
print(classification_report(Y_test,predictions))
I need help in creating a confusion matrix using seaborn and a code to predict the image. Can someone help me with this?
CodePudding user response:
I have used your code along with some random code to generate data and