plt.figure(figsize=(9,9)) plt.imshow(cm, interpolation='nearest', cmap='Pastel1') plt.title('Confusion matrix', size = 15) plt.colorbar()
確定! 回上一頁