code: def test_cannot_set_unauthorized_algo_parameter():
      ds = import_dataset()
      aml = H2OAutoML(
          project_name="py_unauthorized_algo_param",
          algo_parameters=dict(score_tree_interval=7),
          max_models=6,
          seed=1,
      )
      try:
          aml.train(y=ds.target, training_frame=ds.train)
      except h2o.exceptions.H2OResponseError as e:
          assert "algo_parameters: score_tree_interval" in str(e)
  
file_path: h2o-3/h2o-py/tests/testdir_algos/automl/pyunit_automl_algo_parameters.py
imports: import sys, os
  import re
  import h2o
  import h2o.exceptions
  from h2o.automl import H2OAutoML
  from tests import pyunit_utils
  from _automl_utils import import_dataset, get_partitioned_model_names
label_desc: Use image node_id 2 for calling a global function with example usage: test_cannot_set_unauthorized_algo_parameter() without return types