class_docstr: Create confusion matrices using the `PyCM library <https://github.com/sepandhaghighi/pycm>`_.
  
  Args:
      kwargs: Additional keyword args to pass to the `ConfusionMatrix` call
code: def __init__(self, **kwargs):
      import sys
  
      if sys.version_info[0] < 3:
          raise Exception("PyCM requires Python>=3!")
      self._handlers = []
  
      self.kwargs = kwargs
  
imports: from __future__ import print_function
  import torch
  import torchbearer
  from torchbearer import Callback
  from torchbearer.bases import cite
  from torchbearer.metrics import EpochLambda, MetricList
label_desc: Use image node_id 1 to create a new PyCM object from inherited base classes: Callback with example: obj = PyCM()