-
Notifications
You must be signed in to change notification settings - Fork 80
[BUG] Raise errors in models.nn if they can't make in-sample and some cases out-sample predictions #813
Conversation
…mple predictions correclty Fixes #787
🚀 Deployed on https://deploy-preview-813--etna-docs.netlify.app |
Codecov Report
@@ Coverage Diff @@
## master #813 +/- ##
==========================================
+ Coverage 84.05% 84.07% +0.02%
==========================================
Files 126 126
Lines 7220 7236 +16
==========================================
+ Hits 6069 6084 +15
- Misses 1151 1152 +1
📣 Codecov can now indicate which changes are the most critical in Pull Requests. Learn more |
"You can only forecast from the next point after the last one in the training dataset: " | ||
f"last train timestamp: {self._last_train_timestamp}, first test timestamp is {ts.index[0]}" | ||
) | ||
else: |
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.
Do we need this else
block?
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.
I'd like to have all possible switches explicitly
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.
Everything is fine except for <
in checking in-sample predictions.
Before submitting (must do checklist)
Proposed Changes
Closing issues
closes #787