code: def ARGTypeClassFactory(classname, prange, BaseClass=ARGType):
      """Dynamically create parameter type class.
  
      Parameters
      ----------
      classname: string
          parameter name in a operator
      prange: list
          list of values for the parameter in a operator
      BaseClass: Class
          inherited BaseClass for parameter
  
      Returns
      -------
      Class
          parameter class
  
      """
      return type(classname, (BaseClass,), {"values": prange})
  
file_path: tpot/tpot/operator_utils.py
imports: import numpy
  from sklearn.base import BaseEstimator, is_classifier, is_regressor
  from sklearn.gaussian_process.kernels import Kernel
  import inspect
label_desc: Use image node_id 6 for calling a global function with example usage: ARGTypeClassFactory(classname, prange, BaseClass) and returns: type