univi.plotting.plot_confusion_matrix#
- univi.plotting.plot_confusion_matrix(cm, *, labels=None, xlabels=None, ylabels=None, title=None, normalize=None, figsize=(6.0, 5.4), rotate_xticks=90, show=True, savepath=None, close=None, return_fig=False)[source]#
Simple matplotlib confusion matrix plot.
- normalize:
None: raw counts
“true”: rows sum to 1
“pred”: cols sum to 1
“all”: total sum to 1