code: def recall(query, full_set):
      ret = []
      for r_items, t_items in zip(query, full_set):
          result = 0.0
          for r in np.unique(r_items):
              result += 1 if r in t_items else 0
          if len(t_items) > 0:
              ret.append(result / len(t_items))
          else:
              ret.append(0.0)
      return np.array(ret)
  
label_desc: Use image node_id 1 for calling a global function with example usage: recall(query, full_set) and returns: np