code: def test_ForecasterSarimax_set_params_pmdarima():
      """
      Test set_params() method pmdarima.
      """
      forecaster = ForecasterSarimax(regressor=ARIMA(order=(1, 1, 1)))
      new_params = {"order": (2, 2, 2), "seasonal_order": (1, 1, 1, 2)}
      forecaster.set_params(new_params)
      results = forecaster.regressor.get_params()
  
      expected = {
          "maxiter": 50,
          "method": "lbfgs",
          "order": (2, 2, 2),
          "out_of_sample_size": 0,
          "scoring": "mse",
          "scoring_args": None,
          "seasonal_order": (1, 1, 1, 2),
          "start_params": None,
          "suppress_warnings": False,
          "trend": None,
          "with_intercept": True,
      }
  
      assert results == expected
  
imports: from pmdarima.arima import ARIMA
  from skforecast.Sarimax import Sarimax
  from skforecast.ForecasterSarimax import ForecasterSarimax
label_desc: Use image node_id 1 for calling a global function with example usage: test_ForecasterSarimax_set_params_pmdarima() without return types