class_docstr: Adapter for the HEBO algorithm from https://github.com/huawei-noah/HEBO
  
  Parameters
  ----------
  :param space: Optimisation space with priors for each dimension.
  :param seed: Base seed for the random number generators. Defaults to `None`, in which case the
  randomness is not seeded.
  :param parameters: Parameters for the HEBO algorithm.
docstr: Return a state dict that can be used to reset the state of the algorithm.
docstr_tok: ["Return","a","state","dict","that","can","be","used","to","reset","the","state","of","the","algorithm","."]
code: def state_dict(self) -> dict:
      """Return a state dict that can be used to reset the state of the algorithm."""
      base_state_dict = super().state_dict
      model_state = HeboModelState(
          space=self.model.space,
          X=self.model.X,
          y=self.model.y,
          es=self.model.es,
          model_name=self.model.model_name,
          acq_cls=self.model.acq_cls,
          rand_sample=self.model.rand_sample,
          _model_config=self.model._model_config,  # pylint:disable=protected-access
          sobol=self.model.sobol,
      )
      return copy.deepcopy(
          dict(
              **base_state_dict,
              model=model_state,
              random_state=self.random_state or RandomState.current(),
              parameters=self.parameters,
          )
      )
  
imports: from __future__ import annotations
  import copy
  import typing
  import warnings
  from dataclasses import dataclass
  from logging import getLogger
  from typing import Any, ClassVar, Literal
  import numpy
  import pandas
  from typing_extensions import TypedDict
  from orion.algo.base import BaseAlgorithm
  from orion.algo.space import Dimension, Fidelity, Space
  from orion.core.utils.format_trials import dict_to_trial
  from orion.core.utils.module_import import ImportOptional
  from orion.core.utils.random_state import RandomState, control_randomness
  from orion.core.worker.transformer import TransformedDimension
  from orion.core.worker.trial import Trial
label_desc: Use image node_id 3 for calling the HEBO obj's underlying member method code with example usage: obj.state_dict() and returns: copy