@@ -113,10 +113,10 @@ class ExponentialSmoothingForecaster(BaseForecaster):
113
113
Attributes
114
114
----------
115
115
model_type : ModelType
116
- Collection of parameters decribing the (Error, Trend, Seasonality)
116
+ Collection of parameters decribing the (Error, Trend, Seasonality)
117
117
types of the model, as well as the seasonal period if applicable.
118
118
model_parameters : ModelParameters
119
- Collection of parameters describing the level, trend and
119
+ Collection of parameters describing the level, trend and
120
120
seasonality smoothing parameters, as well as the damping parameter.
121
121
_level : float
122
122
Inital value for the level parameter l_0
@@ -173,7 +173,7 @@ def forecast(self, y, X=None):
173
173
"""
174
174
self .fit (y ,X )
175
175
return self .predict ()
176
-
176
+
177
177
def __str__ (self ):
178
178
return f"ExponentialSmoothingForecaster\n \
179
179
(error_type={ self .model_type .error_type } ,\n \
@@ -259,10 +259,10 @@ def predict(model_type, model_parameters, level, trend, seasonality, y=None, X=N
259
259
Parameters
260
260
----------
261
261
model_type : ModelType
262
- Parameters describing the (E,T,S) model type,
262
+ Parameters describing the (E,T,S) model type,
263
263
seasonal period and forecasting horizon.
264
264
model_parameters: ModelParameters
265
- Collection of the smoothing parameters
265
+ Collection of the smoothing parameters
266
266
alpha, beta, gamma and phi of the model.
267
267
l : float
268
268
Current level.
@@ -307,10 +307,10 @@ def update(model_type, model_parameters, oldl, l, oldb, b, olds, s, y):
307
307
Parameters
308
308
----------
309
309
model_type : ModelType
310
- Parameters describing the (E,T,S) model type,
310
+ Parameters describing the (E,T,S) model type,
311
311
seasonal period and forecasting horizon.
312
312
model_parameters: ModelParameters
313
- Collection of the smoothing parameters
313
+ Collection of the smoothing parameters
314
314
alpha, beta, gamma and phi of the model.
315
315
oldl : float
316
316
Previous level.
0 commit comments