Fix SARIMAX seasonal_order parameter (#711)

This commit is contained in:
EgorKraevTransferwise 2022-09-06 03:10:03 +01:00 committed by GitHub
parent 9901156dee
commit 87d9b35d63
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -1975,7 +1975,7 @@ class SARIMAX(ARIMA):
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"],
@ -1988,7 +1988,7 @@ class SARIMAX(ARIMA):
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"],