code: def test_set_params():
      """[Ensemble | Sequential] Test set_params on estimators."""
      lc.set_params(**{"layer-1__group__ols-3__estimator__offset": 4})
      lr = lc.stack[0].learners[-1]
      assert lr.estimator.offset == 4
  
file_path: mlens/mlens/ensemble/tests/test_base.py
imports: from mlens.ensemble.base import BaseEnsemble
  from mlens.externals.sklearn.base import clone
  from mlens.testing.dummy import Data, EstimatorContainer
label_desc: Use image node_id 2 for calling a global function with example usage: test_set_params() without return types