-
Notifications
You must be signed in to change notification settings - Fork 80
Decouple DeadlineMovingAverageModel
from PerSegmentModelMixin
#1140
Conversation
🚀 Deployed on https://deploy-preview-1140--etna-docs.netlify.app |
Codecov Report
📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more @@ Coverage Diff @@
## inference-v2.1 #1140 +/- ##
=================================================
Coverage ? 86.87%
=================================================
Files ? 164
Lines ? 8985
Branches ? 0
=================================================
Hits ? 7806
Misses ? 1179
Partials ? 0 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
@@ -178,7 +188,7 @@ def test_deadline_model_predict_fail_not_enough_context(simple_df): | |||
model = DeadlineMovingAverageModel(window=1000) | |||
model.fit(simple_df) | |||
with pytest.raises(ValueError, match="Given context isn't big enough"): | |||
_ = model.forecast(simple_df, prediction_size=7) | |||
_ = model.predict(simple_df, prediction_size=7) |
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.
Why did you replace method here?
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.
Look at the test name, it was an artifact of copypasta.
Before submitting (must do checklist)
Proposed Changes
Look #1117.
Closing issues
Closes #1117.