class_docstr: Class to test the AutoML flow
      
class_docstr_tok: ["Class","to","test","the","AutoML","flow"]
docstr: test to check functionality of the auto_ts function (multivariate with seasonal SARIMAX)
docstr_tok: ["test","to","check","functionality","of","the","auto_ts","function","(","multivariate","with","seasonal","SARIMAX",")"]
code: def test_auto_ts_multivar_seasonal_sarimax(self):
      """
      test to check functionality of the auto_ts function (multivariate with seasonal SARIMAX)
      """
  
      print("\n\n" + "*" * 50)
      print(
          "Performing Unit Test: 'test_auto_ts_multivar_seasonal_SARIMAX'"
      )
      print("*" * 50 + "\n\n")
  
      # import numpy as np  # type: ignore
      # from auto_ts import auto_timeseries as ATS
      # TODO: seasonal_period argument does not make a difference. Commenting out for now.
      automl_model = ATS(
          score_type="rmse",
          forecast_period=self.forecast_period,
          time_interval="Month",
          non_seasonal_pdq=None,
          seasonality=True,
          seasonal_period=12,
          # non_seasonal_pdq=None, seasonality=True, seasonal_period=3,
          model_type=["auto_SARIMAX"],
          verbose=0,
      )
  
      automl_model.fit(
          traindata=self.train_multivar,
          ts_column=self.ts_column,
          target=self.target,
          cv=None  # ,
          # sep=self.sep
      )
  
      _ = automl_model.predict(
          forecast_period=self.forecast_period,
          testdata=self.test_multivar[[self.ts_column] + self.preds],
      )
  
      ml_dict = automl_model.get_ml_dict()
  
      leaderboard_gold = pd.DataFrame(
          {
              "name": ["auto_SARIMAX"],
              "rmse": [self.rmse_gold_auto_sarimax_multivar_s12],
          }
      )
      assert_frame_equal(
          automl_model.get_leaderboard()
          .reset_index(drop=True)
          .round(6),
          leaderboard_gold,
      )
  
imports: import sys
  import os
  import unittest
  import math
  import numpy
  import pandas
  from pandas.testing import assert_series_equal
  from pandas.testing import assert_frame_equal
  from prophet.forecaster import Prophet
  from statsmodels.tsa.statespace.sarimax import SARIMAXResultsWrapper
  from sklearn.base import BaseEstimator
  from auto_ts import auto_timeseries
label_desc: Use image node_id 4 for calling the TestAutoTS obj's underlying member method code with example usage: obj.test_auto_ts_multivar_seasonal_sarimax() without return types