Open fornasari12 opened 2 years ago
hello @jdb78, could you help me with this error?
Hi @fornasari12 did you find any solution?
You need to specify an input dataset with the length of max_encoder_length + prediction_length
. However, the last prediction_length
values are ignored and you can mask them with 0.
TODOs:
Expected behavior
After training N-BEATS model with NBeats.from_dataset() I want to predict with an out of sample dataframe with the length of max_encoder_lentgh.
Actual behavior
It throws "AssertionError: filters should not remove entries all entries - check encoder/decoder lengths and lags" if the length of the dataframe is lower than: max_encoder_length + max_prediction_length.
Code to reproduce the problem
https://gist.github.com/fornasari12/5ae6dc414f730beb2bd5c8e267b6c9f1