class_docstr: Local Searcher (virtual class to inherit from if you are creating a custom Searcher).
  
  Parameters
  ----------
  search_space: dict
      The configuration space to sample from. It contains the full
      specification of the Hyperparameters with their priors
docstr: Gets the dictionary of pickled category value -> index mapping for Category search spaces.
  This is used in `self._pickle_config` to map values to idx when pickling the config. This compresses the size of the pkl file.
  When being later unpickled via `self._unpickle_config`, the idx can be used to get the key value via `self.search_space[key][idx]`.
docstr_tok: ["Gets","the","dictionary","of","pickled","category","value","-",">","index","mapping","for","Category","search","spaces",".","This","is","used","in","`","self._pickle_config","`","to","map","values","to","idx","when","pickling","the","config",".","This","compresses","the","size","of","the","pkl","file",".","When","being","later","unpickled","via","`","self._unpickle_config","`",",","the","idx","can","be","used","to","get","the","key","value","via","`","self.search_space","[","key","]","[","idx","]","`","."]
code: def _get_params_cat_dict(self) -> dict:
      """
      Gets the dictionary of pickled category value -> index mapping for Category search spaces.
      This is used in `self._pickle_config` to map values to idx when pickling the config. This compresses the size of the pkl file.
      When being later unpickled via `self._unpickle_config`, the idx can be used to get the key value via `self.search_space[key][idx]`.
      """
      params_cat_dict = dict()
      for key, val in self.search_space.items():
          if isinstance(val, space.Categorical):
              cat_map = dict()
              for i, cat in enumerate(val.data):
                  cat_pkl = pickle.dumps(cat)
                  cat_map[cat_pkl] = i
  
              params_cat_dict[key] = cat_map
      return params_cat_dict
  
imports: import logging
  import pickle
  from collections import OrderedDict
  from autogluon.common import space
label_desc: Use image node_id 14 for calling the LocalSearcher obj's underlying member method code with example usage: obj._get_params_cat_dict() and returns: params_cat_dict