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", "mean_residual_deviance", "rmse", "mse", "mae", "rmsle"]