Skip to content

Commit

Permalink
Automatic pre-commit fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbanwell1 authored and github-actions[bot] committed Feb 13, 2025
1 parent c454938 commit 8516cf9
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions tsml_eval/_wip/forecasting/exponential_smoothing.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,10 +113,10 @@ class ExponentialSmoothingForecaster(BaseForecaster):
Attributes
----------
model_type : ModelType
Collection of parameters decribing the (Error, Trend, Seasonality)
Collection of parameters decribing the (Error, Trend, Seasonality)
types of the model, as well as the seasonal period if applicable.
model_parameters : ModelParameters
Collection of parameters describing the level, trend and
Collection of parameters describing the level, trend and
seasonality smoothing parameters, as well as the damping parameter.
_level : float
Inital value for the level parameter l_0
Expand Down Expand Up @@ -173,7 +173,7 @@ def forecast(self, y, X=None):
"""
self.fit(y,X)
return self.predict()

def __str__ (self):
return f"ExponentialSmoothingForecaster\n\
(error_type={self.model_type.error_type},\n\
Expand Down Expand Up @@ -259,10 +259,10 @@ def predict(model_type, model_parameters, level, trend, seasonality, y=None, X=N
Parameters
----------
model_type : ModelType
Parameters describing the (E,T,S) model type,
Parameters describing the (E,T,S) model type,
seasonal period and forecasting horizon.
model_parameters: ModelParameters
Collection of the smoothing parameters
Collection of the smoothing parameters
alpha, beta, gamma and phi of the model.
l : float
Current level.
Expand Down Expand Up @@ -307,10 +307,10 @@ def update(model_type, model_parameters, oldl, l, oldb, b, olds, s, y):
Parameters
----------
model_type : ModelType
Parameters describing the (E,T,S) model type,
Parameters describing the (E,T,S) model type,
seasonal period and forecasting horizon.
model_parameters: ModelParameters
Collection of the smoothing parameters
Collection of the smoothing parameters
alpha, beta, gamma and phi of the model.
oldl : float
Previous level.
Expand Down

0 comments on commit 8516cf9

Please sign in to comment.