code: def _get_cs(n_dimensions):
      configspace = ConfigurationSpace()
      for i in range(n_dimensions):
          configspace.add_hyperparameter(
              UniformFloatHyperparameter("x%d" % i, 0, 1)
          )
  
      return configspace
  
imports: import unittest
  from unittest import mock
  import numpy
  from ConfigSpace import ConfigurationSpace, UniformFloatHyperparameter
  from smac.model.multi_objective_model import MultiObjectiveModel
  from smac.model.random_forest.random_forest import RandomForest
label_desc: Use image node_id 1 for calling a global function with example usage: _get_cs(n_dimensions) and returns: configspace