evalml.pipelines.components.TimeSeriesBaselineEstimator.__init__

TimeSeriesBaselineEstimator.__init__(gap=1, random_state=None, random_seed=0, **kwargs)[source]

Baseline time series estimator 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 (None, int) – Deprecated - use random_seed instead.

  • random_seed (int) – Seed for the random number generator. Defaults to 0.