code: def space():
      # Use a search space with dimensions of any type.
      original_space = SpaceBuilder().build(
          {
              "unr": "uniform(0, 10)",
              "uni": "uniform(0, 20, discrete=True)",
              "uns": "uniform(0, 5, shape=[2, 3])",
              "lur": "loguniform(1e-5, 0.1)",
              "lui": "loguniform(1, 100, discrete=True)",
              "cat": 'choices(["what", "ever", 0.33])',
          }
      )
  
      return build_required_space(
          original_space,
          type_requirement=MOFA.requires_type,
          shape_requirement=MOFA.requires_shape,
          dist_requirement=MOFA.requires_dist,
      )
  
file_path: orion/tests/unittests/algo/mofa/test_analysis.py
imports: import itertools
  import numpy
  import pandas
  import pytest
  from orion.algo.mofa.mofa import MOFA, get_factorial_importance_analysis, get_factorial_performance_analysis, select_new_region_of_interest
  from orion.algo.mofa.transformer import Transformer
  from orion.core.io.space_builder import SpaceBuilder
  from orion.core.worker.transformer import build_required_space
label_desc: Use image node_id 1 for calling a global function with example usage: space() and returns: build_required_space