code: def _multi_label_list_to_multi_hot(multi_label_list, num_classes):
      return [
          [0 if i not in set(entry) else 1 for i in range(num_classes)]
          for entry in multi_label_list
      ]
  
file_path: small-text/small_text/utils/classification.py
imports: import numpy
  from scipy.sparse import csr_matrix
  from small_text.data.datasets import split_data
  from small_text.utils.annotations import prediction_result_enc_warning
  from small_text.utils.labels import list_to_csr
label_desc: Use image node_id 4 for calling a global function with example usage: _multi_label_list_to_multi_hot(multi_label_list, num_classes) and returns: unknown