code: def __class_stat_init__(cm):
      """
      Init individual class stats.
  
      :param cm: confusion matrix
      :type cm: pycm.ConfusionMatrix object
      :return: None
      """
      for stat, field_name in CLASS_PARAMS.items():
          setattr(cm, field_name, cm.class_stat[stat])
  
file_path: pycm/pycm/pycm_handler.py
imports: from __future__ import division
  from .pycm_class_func import class_statistics
  from .pycm_error import pycmVectorError, pycmMatrixError
  from .pycm_overall_func import overall_statistics
  from .pycm_util import *
  from .pycm_param import *
  import json
  import types
  import numpy
label_desc: Use image node_id 1 for calling a global function with example usage: __class_stat_init__(cm) without return types