code: def hspace():
      space = SpaceBuilder().build(
          {
              "x": "uniform(0, 6, shape=3)",
              "y": "uniform(0, 3, shape=(2, 3))",
              "z": "choices(['a', 'b', 'c'])",
          }
      )
      return space
  
imports: import numpy
  import pandas
  import pytest
  from sklearn.ensemble import AdaBoostRegressor, BaggingRegressor, ExtraTreesRegressor, GradientBoostingRegressor, RandomForestRegressor
  from orion.analysis.base import average, flatten_numpy, flatten_params, ranking, to_numpy, train_regressor
  from orion.core.io.space_builder import SpaceBuilder
  from orion.core.worker.transformer import build_required_space
label_desc: Use image node_id 4 for calling a global function with example usage: hspace() and returns: space