code: def test_all_params_can_be_set_as_properties():
      pipeline = Pipeline(
          [
              ("standardize", H2OScaler()),
              ("pca", H2OPCA()),
              ("estimator", H2OGradientBoostingEstimator()),
          ]
      )
      pipeline.named_steps.standardize.center = True
      pipeline.named_steps.standardize.scale = False
      pipeline.named_steps.pca.k = 2
      pipeline.named_steps.pca.seed = seed
      pipeline.named_steps.estimator.ntrees = 20
      pipeline.named_steps.estimator.max_depth = 5
      pipeline.named_steps.estimator.seed = seed
      params = pipeline.get_params()
      assert isinstance(params["standardize"], H2OScaler)
      assert params["standardize__center"] is True
      assert params["standardize__scale"] is False
      assert isinstance(params["pca"], H2OPCA)
      assert params["pca__k"] == 2
      assert params["pca__seed"] == seed
      assert isinstance(
          params["estimator"], H2OGradientBoostingEstimator
      )
      assert params["estimator__ntrees"] == 20
      assert params["estimator__max_depth"] == 5
      assert params["estimator__seed"] == seed
  
file_path: h2o-3/h2o-py/tests/testdir_sklearn/pyunit_sklearn_params.py
imports: import os, sys
  from sklearn.pipeline import Pipeline
  from h2o.sklearn import H2OAutoMLEstimator, H2OGradientBoostingEstimator, H2OScaler, H2OPCA
  from tests import pyunit_utils
label_desc: Use image node_id 4 for calling a global function with example usage: test_all_params_can_be_set_as_properties() without return types