code: def create_predictors(y):  # pragma: no cover
      """
      Create first 4 lags of a time series.
      """
  
      lags = y[-1:-5:-1]
  
      return lags
  
file_path: skforecast/skforecast/model_selection_multiseries/tests/test_bayesian_search_forecaster_multiseries.py
imports: import re
  import pytest
  import numpy
  import pandas
  from sklearn.linear_model import Ridge
  from skforecast.ForecasterAutoregMultiSeries import ForecasterAutoregMultiSeries
  from skforecast.ForecasterAutoregMultiSeriesCustom import ForecasterAutoregMultiSeriesCustom
  from skforecast.ForecasterAutoregMultiVariate import ForecasterAutoregMultiVariate
  from skforecast.model_selection_multiseries import bayesian_search_forecaster_multiseries
  from skforecast.model_selection_multiseries import bayesian_search_forecaster_multivariate
  from .fixtures_model_selection_multiseries import series
label_desc: Use image node_id 1 for calling a global function with example usage: create_predictors(y) and returns: lags