We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8e56fd8 + ccd00ae commit 545d8d9Copy full SHA for 545d8d9
aeon/forecasting/_ets.py
@@ -353,7 +353,7 @@ def _numba_predict(
353
else:
354
# Geometric series formula for calculating phi + phi^2 + ... + phi^h
355
phi_h = phi * (1 - phi**horizon) / (1 - phi)
356
- seasonal_index = (n_timepoints + horizon) % seasonal_period
+ seasonal_index = (n_timepoints + horizon - 1) % seasonal_period
357
return _predict_value(
358
trend_type,
359
seasonality_type,
0 commit comments