code: def test_hyperopt_config_gbm():
      """This test was added due to a schema validation error when hyperopting GBMs:
  
      ```jsonschema.exceptions.ValidationError: Additional properties are not allowed ('epochs' was unexpected)```
      """
      config = _get_config()
      config["model_type"] = "gbm"
  
      # Config should not raise an exception
      ModelConfig.from_dict(config)
  
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 4 for calling a global function with example usage: test_hyperopt_config_gbm() without return types