code: def setUp(self):
      self.configspace = CS.ConfigurationSpace()
  
      self.HPs = []
  
      self.HPs.append(CS.CategoricalHyperparameter("parent", [1, 2, 3]))
  
      self.HPs.append(
          CS.CategoricalHyperparameter("child1_x1", ["foo", "bar"])
      )
      self.HPs.append(
          CS.UniformFloatHyperparameter("child2_x1", lower=-1, upper=1)
      )
      self.HPs.append(
          CS.UniformIntegerHyperparameter(
              "child3_x1", lower=-2, upper=5
          )
      )
  
      self.configspace.add_hyperparameters(self.HPs)
  
      self.conditions = []
  
      self.conditions += [
          CS.EqualsCondition(self.HPs[1], self.HPs[0], 1)
      ]
      self.conditions += [
          CS.EqualsCondition(self.HPs[2], self.HPs[0], 2)
      ]
      self.conditions += [
          CS.EqualsCondition(self.HPs[3], self.HPs[0], 3)
      ]
      [self.configspace.add_condition(cond) for cond in self.conditions]
  
file_path: HpBandSter/tests/test_config_generators.py
imports: import os
  import unittest
  import numpy
  import ConfigSpace
  from hpbandster.optimizers.config_generators.bohb import BOHB
  from hpbandster.core.dispatcher import Job
label_desc: Use image node_id 1 for calling the TestBinaryRssRegressionForest obj's underlying member method code with example usage: obj.setUp() without return types