A function to create a colored and labeled confusion matrix matplotlib figure given true labels and preds. Args: cmtx (ndarray): confusion matrix. num_classes (int): total number of classes. class_names (Optional[list of strs]): a list of class names. fig
(cmtx, num_classes, class_names=None, figsize=None)
source not stored for this graph (policy: none)
nothing calls this directly
no outgoing calls
no test coverage detected