code: def _compare(data, k, threshold, sign=True):
      """
      Obtain indicator vector for the samples with k-th feature > threshold
      """
      if sign:
          return data[:, k] > threshold
      else:
          return data[:, k] <= threshold
  
file_path: imodels/imodels/importance/local_stumps.py
imports: import numpy
label_desc: Use image node_id 4 for calling a global function with example usage: _compare(data, k, threshold, sign) and returns: unknown, unknown