code: def identify_type(values, enum_threshold=DEFAULT_MAX_UNIQUE_ENUM):
      if _is_binary(values):
          return BINARY
      elif _is_probability(values):
          return PROBABILITY
      elif _is_enum(values, enum_threshold):
          return ENUM
      elif _is_continuous(values):
          return CONTINUOUS
      else:
          assert False
  
imports: import numpy
label_desc: Use image node_id 5 for calling a global function with example usage: identify_type(values, enum_threshold) and returns: BINARY, PROBABILITY, ENUM, CONTINUOUS