code: def build_label(self):
      g = self.graph.G
      look_up = self.graph.look_up_dict
      labels = []
      label_dict = {}
      label_id = 0
      for node in g.nodes():
          labels.append((node, g.nodes[node]["label"]))
          for l in g.nodes[node]["label"]:
              if l not in label_dict:
                  label_dict[l] = label_id
                  label_id += 1
      self.labels = np.zeros((len(labels), label_id))
      self.label_dict = label_dict
      for node, l in labels:
          node_id = look_up[node]
          for ll in l:
              l_id = label_dict[ll]
              self.labels[node_id][l_id] = 1
  
file_path: OpenNE/src/openne/gcn/gcnAPI.py
imports: import numpy
  from .utils import *
  from .None import models
  import time
  import scipy.sparse
  import tensorflow
label_desc: Use image node_id 4 for calling the GCN obj's underlying member method code with example usage: obj.build_label() without return types