Python, Machine Learning, Statistics, Data Science, Technology.
fmt='.2f', xticklabels = [str1, str2,str3] , yticklabels = [str1, str2,str3] ) plt.ylabel('True label') plt.xlabel('Predicted label') plt.show() draw_confmatrix(Orig_y_test, Orig_y_predict,"Van ", "Car ", "Bus", "Original Data Set" ) draw_confmatrix(pca_y_test, pca_y_predict,"Van ", "Car ", "Bus",