code: def add(d1, d2):
      d = d1
      for i in d2:
          if d.has_key(i):
              d[i] = d[i] + d2[i]
          else:
              d[i] = d2[i]
      return d
  
file_path: imodels/imodels/tree/c45_tree/c45_utils.py
imports: import math
label_desc: Use image node_id 8 for calling a global function with example usage: add(d1, d2) and returns: d