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.
1 parent e2ef4f1 commit d4688a0Copy full SHA for d4688a0
aeon/forecasting/_ets.py
@@ -1,7 +1,8 @@
1
"""ETSForecaster class.
2
3
An implementation of the exponential smoothing statistics forecasting algorithm.
4
-Implements additive and multiplicative error models.
+Implements additive and multiplicative error models. We recommend using the AutoETS
5
+version, but this is useful for demonstrations.
6
"""
7
8
__maintainer__ = []
@@ -348,7 +349,7 @@ def _numba_predict(
348
349
):
350
# Generate forecasts based on the final values of level, trend, and seasonals
351
if phi == 1: # No damping case
- phi_h = 1
352
+ phi_h = horizon
353
else:
354
# Geometric series formula for calculating phi + phi^2 + ... + phi^h
355
phi_h = phi * (1 - phi**horizon) / (1 - phi)
0 commit comments