code: def __mlcm_assign_classes__(mlcm, classes):
      """
      Assign multilabel object class.
  
      :param mlcm: multilabel confusion matrix
      :type mlcm: pycm.MultiLabelCM object
      :param classes: ordered labels of classes
      :type classes: list
      :return: None
      """
      mlcm.classes = classes
      if classes is None:
          mlcm.classes = sorted(
              list(set.union(*mlcm.actual_vector, *mlcm.predict_vector))
          )
  
file_path: pycm/pycm/pycm_multilabel_cm.py
imports: from __future__ import division
  from .pycm_error import pycmVectorError, pycmMultiLabelError
  from .pycm_param import *
  from .pycm_obj import ConfusionMatrix
  import numpy
label_desc: Use image node_id 2 for calling a global function with example usage: __mlcm_assign_classes__(mlcm, classes) without return types