code: def get_vector_type(data_type):
      """Return vector type according to data type"""
      vector_type = ""
      if data_type in ["random", "sift", "deep", "glove", "local"]:
          vector_type = DataType.FLOAT_VECTOR
      elif data_type in ["binary"]:
          vector_type = DataType.BINARY_VECTOR
      else:
          raise Exception("Data type: %s not defined" % data_type)
      return vector_type
  
imports: import os
  import logging
  import numpy
  import sklearn.preprocessing
  import h5py
  import random
  from itertools import product
  from pymilvus import DataType
  from milvus_benchmark import config
label_desc: Use image node_id 9 for calling a global function with example usage: get_vector_type(data_type) and returns: vector_type