code: def setup(self):
      # Create forecaster and data.
      # setup is excluded from the timing
  
      def create_predictors(y):
          """
          Create first 10 lags of a time series.
          Calculate moving average with window 20.
          """
  
          lags = y[-1:-11:-1]
          mean = np.mean(y[-20:])
          predictors = np.hstack([lags, mean])
  
          return predictors
  
      forecaster = ForecasterAutoregCustom(
          regressor=LinearRegression(),
          fun_predictors=create_predictors,
          window_size=20,
      )
      time_series = pd.Series(np.arange(10000))
  
      self.forecaster = forecaster
      self.time_series = time_series
  
imports: import numpy
  import pandas
  from skforecast.ForecasterAutoregCustom import ForecasterAutoregCustom
  from sklearn.linear_model import LinearRegression
label_desc: Use image node_id 1 for calling the Suite obj's underlying member method code with example usage: obj.setup() and returns: predictors