-
Notifications
You must be signed in to change notification settings - Fork 386
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Core] predict_insample with multivariate models gives NaN values on last input_size #1269
Comments
The issue happens only with multivariate models. Univariate models work fine. I need to investigate further. |
Note that this behaviour is also observed in previous versions for multivariate models. Our tests did not include multivariate models, so we missed it. |
You're right, sorry for my incorrect descriptions. In fact previously, |
You may notice that the neuralforecast/neuralforecast/common/_base_multivariate.py Lines 199 to 204 in 939056c
Whereas in the same function of neuralforecast/neuralforecast/common/_base_windows.py Lines 212 to 225 in 939056c
|
Yes, saw that too! Seems that it fixes the issue. I'm testing if it impacts multivariate models' performance at all before pushing a fix. Thanks for pointing it out! |
This is now fixed by the merge of #1023 |
What happened + What you expected to happen
It's unclear what the expected result of
predict_insample
should look like. In previous version, it provided all predicted values based on the training data provided duringfit
. However using the latest commit from main branch, the lastinput_size
sample prediction is NaN instead.Versions / Dependencies
Main branch with commit 939056c
Reproduction script
Issue Severity
High: It blocks me from completing my task.
The text was updated successfully, but these errors were encountered: