code: def get_boundaries(target, boundaries, default=-1, start=0):
      if target == "?":
          return default + start
      else:
          for i in range(len(boundaries)):
              if target < boundaries[i]:
                  return i + start
          return len(boundaries) + start
  
file_path: analytics-zoo/pyzoo/zoo/models/recommendation/utils.py
imports: import numpy
  from bigdl.util.common import JTensor, Sample
  from zoo.common.utils import callZooFunc
  from zoo.models.recommendation import UserItemFeature
label_desc: Use image node_id 3 for calling a global function with example usage: get_boundaries(target, boundaries, default, start) and returns: unknown, unknown, unknown