Skip to content

Commit 8516cf9

Browse files
alexbanwell1github-actions[bot]
authored andcommitted
Automatic pre-commit fixes
1 parent c454938 commit 8516cf9

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

tsml_eval/_wip/forecasting/exponential_smoothing.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -113,10 +113,10 @@ class ExponentialSmoothingForecaster(BaseForecaster):
113113
Attributes
114114
----------
115115
model_type : ModelType
116-
Collection of parameters decribing the (Error, Trend, Seasonality)
116+
Collection of parameters decribing the (Error, Trend, Seasonality)
117117
types of the model, as well as the seasonal period if applicable.
118118
model_parameters : ModelParameters
119-
Collection of parameters describing the level, trend and
119+
Collection of parameters describing the level, trend and
120120
seasonality smoothing parameters, as well as the damping parameter.
121121
_level : float
122122
Inital value for the level parameter l_0
@@ -173,7 +173,7 @@ def forecast(self, y, X=None):
173173
"""
174174
self.fit(y,X)
175175
return self.predict()
176-
176+
177177
def __str__ (self):
178178
return f"ExponentialSmoothingForecaster\n\
179179
(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
259259
Parameters
260260
----------
261261
model_type : ModelType
262-
Parameters describing the (E,T,S) model type,
262+
Parameters describing the (E,T,S) model type,
263263
seasonal period and forecasting horizon.
264264
model_parameters: ModelParameters
265-
Collection of the smoothing parameters
265+
Collection of the smoothing parameters
266266
alpha, beta, gamma and phi of the model.
267267
l : float
268268
Current level.
@@ -307,10 +307,10 @@ def update(model_type, model_parameters, oldl, l, oldb, b, olds, s, y):
307307
Parameters
308308
----------
309309
model_type : ModelType
310-
Parameters describing the (E,T,S) model type,
310+
Parameters describing the (E,T,S) model type,
311311
seasonal period and forecasting horizon.
312312
model_parameters: ModelParameters
313-
Collection of the smoothing parameters
313+
Collection of the smoothing parameters
314314
alpha, beta, gamma and phi of the model.
315315
oldl : float
316316
Previous level.

0 commit comments

Comments
 (0)