code: def _get_hyperparameters(self):
          
          hyperparameters = {}
          for key in self._hyperparameters:
              hyperparameters[key] = getattr(self, key)
          return hyperparameters
docs: Get internal optimization parameters.