-
Notifications
You must be signed in to change notification settings - Fork 80
Implement predict
method in SARIMAXModel
, AutoARIMAModel
, SeasonalMovingAverageModel
, DeadlineMovingAverageModel
#948
Conversation
🚀 Deployed on https://deploy-preview-948--etna-docs.netlify.app |
Codecov Report
@@ Coverage Diff @@
## inference #948 +/- ##
============================================
Coverage ? 49.70%
============================================
Files ? 132
Lines ? 7586
Branches ? 0
============================================
Hits ? 3771
Misses ? 3815
Partials ? 0 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We definitely need to come up with the standard templates for tests, now it is really hard to review the tests
etna/models/sarimax.py
Outdated
def _make_prediction( | ||
self, df: pd.DataFrame, prediction_interval: bool, quantiles: Sequence[float], dynamic: bool | ||
) -> pd.DataFrame: | ||
"""Make predictions depending on parameters.""" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Emphasize that the main parameter which change the behaviour is dynamic
sma_model = model() | ||
def test_sma_model_forecast(simple_df, model): | ||
_check_forecast(ts=simple_df, model=model(), horizon=7) | ||
# sma_model = model() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
)))))
…make_predictions in SARIMAX
Before submitting (must do checklist)
Proposed Changes
Look #928.
Closing issues
Closes #928.