code: def test_default_automl_with_regression_task():
      ds = import_dataset("regression")
      aml = H2OAutoML(max_models=2, project_name="aml_regression")
  
      aml.train(
          y=ds.target,
          training_frame=ds.train,
          validation_frame=ds.valid,
          leaderboard_frame=ds.test,
      )
      print(aml.leader)
      print(aml.leaderboard)
      assert aml.leaderboard.columns == [
          "model_id",
          "rmse",
          "mse",
          "mae",
          "rmsle",
          "mean_residual_deviance",
      ]
  
imports: import sys, os
  import h2o
  from h2o.automl import H2OAutoML
  from tests import pyunit_utils
  from _automl_utils import import_dataset
label_desc: Use image node_id 1 for calling a global function with example usage: test_default_automl_with_regression_task() without return types