class_docstr: Base class for defining an agent.
code: def _index_to_vector(self, index, dimension):
      # TODO: consider using cntk.core.Value.one_hot here.
      a = np.zeros(
          dimension,
      )
      a[index] = 1
      return a
  
imports: from abc import ABCMeta, abstractmethod
  import numpy
  from importlib import import_module
  from .shared.discretize import BoxSpaceDiscretizer
label_desc: Use image node_id 14 for calling the AgentBaseClass obj's underlying member method code with example usage: obj._index_to_vector(index, dimension) and returns: a