You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the predict_insample() method on an NHITS model with a DataFrame containing multiple timeseries of varying lengths, the following error occurs
Traceback (most recent call last):
...
/site-packages/neuralforecast/core.py", line 1410, in predict_insample
fcsts[:, col_idx : (col_idx + output_length)] = model_fcsts
~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: could not broadcast input array from shape (960,1) into shape (660,1)
Versions / Dependencies
I am using a macos OS with python 3.11.10 and neuralforecast 1.7.6
Can reproduce the error, thanks for pointing it out! We'll work on a fix.
marcopeix
changed the title
Error in predict_insample() with Variable-Length Timeseries in NHITS Model
Error in predict_insample() with Variable-Length Timeseries
Nov 26, 2024
What happened + What you expected to happen
When using the predict_insample() method on an NHITS model with a DataFrame containing multiple timeseries of varying lengths, the following error occurs
Versions / Dependencies
I am using a macos OS with python 3.11.10 and neuralforecast 1.7.6
Reproduction script
Issue Severity
High: It blocks me from completing my task.
The text was updated successfully, but these errors were encountered: