Python, Machine Learning, Statistics, Data Science, Technology.
Visualize it def draw_confmatrix(y_test, yhat, str1, str2, str3, datatype ): #Make predictions and evalute #model_pred = fit_test_model(model,X_train, y_train, X_test) cm = confusion_matrix( y_test, yhat, [0,1,2] ) print("Confusion Matrix For :", "\n",datatype,cm ) sns.heatmap(cm, annot=True,