code: def _compare_all(data, ks, thresholds, signs):
      """
      Obtain indicator vector for the samples with k-th feature > threshold or
      <= threshold (depending on sign) for all k in ks
      """
      return ~np.logical_xor(data[:, ks] > thresholds, signs)
  
file_path: imodels/imodels/importance/local_stumps.py
imports: import numpy
label_desc: Use image node_id 5 for calling a global function with example usage: _compare_all(data, ks, thresholds, signs) and returns: unknown