cvml.plot¶
-
cvml.plot.
plot_confusion_matrix
(cnf_matrix, classes, normalize=True, title='Confusion matrix', ylabel='True class', xlabel='Predicted class', cmap='Blues', colorbar=True, colorbar_aspect_ratio=None, classes_per_inch=5, **kwargs)[source]¶ Plot a confusion matrix. Normalization can be applied by setting normalize=True.
kwargs are parsed on to the plt.imshow function.