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: Create a Trial from a dict of hyper-parameters.
docstr_tok: ["Create","a","Trial","from","a","dict","of","hyper-parameters","."]
code: def _params_to_trial(self, orion_params: dict) -> Trial:
      """Create a Trial from a dict of hyper-parameters."""
      # Need to convert the {name: value} of point_dict into this format for Orion's Trial.
      # Add the max value for the Fidelity dimensions, if any.
      if self.fidelity_index is not None:
          fidelity_dim = self.space[self.fidelity_index]
          while isinstance(fidelity_dim, TransformedDimension):
              fidelity_dim = fidelity_dim.original_dimension
          assert isinstance(fidelity_dim, Fidelity)
          orion_params[self.fidelity_index] = float(fidelity_dim.high)
      trial: Trial = dict_to_trial(orion_params, space=self.space)
      return trial
  
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 9 for calling the HEBO obj's underlying member method code with example usage: obj._params_to_trial(orion_params) and returns: trial