code: def test_all_params_can_be_set_using_set_params():
      pipeline = Pipeline(
          [
              ("standardize", H2OScaler()),
              ("pca", H2OPCA()),
              ("estimator", H2OGradientBoostingEstimator()),
          ]
      )
      pipeline.set_params(
          standardize__center=True,
          standardize__scale=False,
          pca__k=2,
          pca__seed=seed,
          estimator__ntrees=20,
          estimator__max_depth=5,
          estimator__seed=seed,
      )
      assert isinstance(pipeline.named_steps.standardize, H2OScaler)
      assert pipeline.named_steps.standardize.center is True
      assert pipeline.named_steps.standardize.scale is False
      assert isinstance(pipeline.named_steps.pca, H2OPCA)
      assert pipeline.named_steps.pca.k == 2
      assert pipeline.named_steps.pca.seed == seed
      assert isinstance(
          pipeline.named_steps.estimator, H2OGradientBoostingEstimator
      )
      assert pipeline.named_steps.estimator.ntrees == 20
      assert pipeline.named_steps.estimator.max_depth == 5
      assert pipeline.named_steps.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 2 for calling a global function with example usage: test_all_params_can_be_set_using_set_params() without return types