Skip to content

Commit

Permalink
Add SARIMAX model (#10)
Browse files Browse the repository at this point in the history
* SARIMAX -> new arch + fixes

* Update etna/models/sarimax.py

Co-authored-by: Julia Shenshina <[email protected]>

* Fixes

* Update etna/models/sarimax.py

* Update etna/models/sarimax.py

Co-authored-by: Julia Shenshina <[email protected]>

* Update etna/models/sarimax.py

Co-authored-by: Julia Shenshina <[email protected]>

Co-authored-by: a.p.chikov <[email protected]>
Co-authored-by: Julia Shenshina <[email protected]>
  • Loading branch information
3 people authored Sep 8, 2021
1 parent f7fd829 commit 6d17d2d
Show file tree
Hide file tree
Showing 5 changed files with 544 additions and 1 deletion.
2 changes: 1 addition & 1 deletion etna/datasets/tsdataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def __init__(self, df: pd.DataFrame, freq: str, df_exog: Optional[pd.DataFrame]
frequency of timestamp in df
df_exog:
dataframe with exogenous data;
if the series is known in the future features' names should start wuth prefix 'regressor_`.
if the series is known in the future features' names should start with prefix 'regressor_`.
"""
self.raw_df = df.copy(deep=True)
self.raw_df.index = pd.to_datetime(self.raw_df.index)
Expand Down
1 change: 1 addition & 0 deletions etna/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@
from etna.models.moving_average import MovingAverageModel
from etna.models.naive import NaiveModel
from etna.models.prophet import ProphetModel
from etna.models.sarimax import SARIMAXModel
from etna.models.seasonal_ma import SeasonalMovingAverageModel
Loading

0 comments on commit 6d17d2d

Please sign in to comment.