Skip to content

Commit

Permalink
Fix SARIMAX seasonal_order parameter (Significant-Gravitas#711)
Browse files Browse the repository at this point in the history
  • Loading branch information
EgorKraevTransferwise authored Sep 6, 2022
1 parent 9901156 commit 87d9b35
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions flaml/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -1975,7 +1975,7 @@ def fit(self, X_train, y_train, budget=None, **kwargs):
train_df[[TS_VALUE_COL]],
exog=train_df[regressors],
order=(self.params["p"], self.params["d"], self.params["q"]),
seasonality_order=(
seasonal_order=(
self.params["P"],
self.params["D"],
self.params["Q"],
Expand All @@ -1988,7 +1988,7 @@ def fit(self, X_train, y_train, budget=None, **kwargs):
model = SARIMAX_estimator(
train_df,
order=(self.params["p"], self.params["d"], self.params["q"]),
seasonality_order=(
seasonal_order=(
self.params["P"],
self.params["D"],
self.params["Q"],
Expand Down

0 comments on commit 87d9b35

Please sign in to comment.