code: def _get_cs(n_dimensions):
      configspace = ConfigurationSpace(seed=0)
      for i in range(n_dimensions):
          configspace.add_hyperparameter(
              UniformFloatHyperparameter("x%d" % i, 0, 1)
          )
  
      return configspace
  
file_path: SMAC3/tests/test_model/test_rf.py
imports: import numpy
  import pytest
  from ConfigSpace import CategoricalHyperparameter, ConfigurationSpace, EqualsCondition, OrdinalHyperparameter, UniformFloatHyperparameter, UniformIntegerHyperparameter
  from smac.model.random_forest.random_forest import RandomForest
  from smac.utils.configspace import convert_configurations_to_array
label_desc: Use image node_id 1 for calling a global function with example usage: _get_cs(n_dimensions) and returns: configspace