code: def test_substitute_parameters(parameters, expected):
      actual_config = substitute_parameters(BASE_CONFIG, parameters)
      assert actual_config == expected
  
file_path: ludwig/tests/ludwig/hyperopt/test_hyperopt.py
imports: import pytest
  from ludwig.constants import INPUT_FEATURES, NAME, OUTPUT_FEATURES, TYPE
  from ludwig.hyperopt.utils import log_warning_if_all_grid_type_parameters, substitute_parameters
  from ludwig.schema.model_config import ModelConfig
label_desc: Use image node_id 2 for calling a global function with example usage: test_substitute_parameters(parameters, expected) without return types