code: def test_include_algos():
      print(
          "AutoML trains only models for algos listed in include_algos"
      )
      ds = import_dataset()
      aml = H2OAutoML(
          project_name="py_include_algos",
          include_algos=["GBM"],
          max_models=max_models,
          seed=1,
      )
      aml.train(
          y=ds.target,
          training_frame=ds.train,
          validation_frame=ds.valid,
      )
      models = get_partitioned_model_names(aml.leaderboard)
      assert all(["GBM" in name for name in models.base])
      assert (
          len(models.se) == 0
      ), "No StackedEnsemble should have been trained if not explicitly included to the existing include_algos"
  
imports: import sys, os
  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_include_algos() without return types