evalml.pipelines.components.TimeSeriesBaselineRegressor.__init__

TimeSeriesBaselineRegressor.__init__(gap=1, random_state=0, **kwargs)[source]

Baseline time series regressor that predicts using the naive forecasting approach.

Parameters
  • gap (int) – gap between prediction date and target date and must be a positive integer. If gap is 0, target date will be shifted ahead by 1 time period.

  • random_state (int, np.random.RandomState) – seed for the random number generator