code: def test_set_params_layer():
      """[Ensemble | Layer] Test set_params on estimators."""
      layer.set_params(**{"group__ols-3__estimator__offset": 2})
      lr = [l for l in layer.learners][-1]
      assert lr.estimator.offset == 2
  
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 3 for calling a global function with example usage: test_set_params_layer() without return types