The NBEATS architecture rebuild is slightly off (I think, as of today I haven't read the paper in almost a year).
There's a missing subtract connection (the red arrow below).
cjtwigt pointed this out on Discord (text below is his quote):
Having said all this.. I think I have found an error in video lecture 336 where you build the NBEATS model. The way you have constructed the model the 2nd NBEATS block does not receive the model inputs via the first subtract layer (the direct line from the model inputs to the first subtract layer is missing). I have constructed it this way (and this way it beats the naive results by 0.5%)):
The NBEATS architecture rebuild is slightly off (I think, as of today I haven't read the paper in almost a year).
There's a missing subtract connection (the red arrow below).
cjtwigt pointed this out on Discord (text below is his quote):
Having said all this.. I think I have found an error in video lecture 336 where you build the NBEATS model. The way you have constructed the model the 2nd NBEATS block does not receive the model inputs via the first subtract layer (the direct line from the model inputs to the first subtract layer is missing). I have constructed it this way (and this way it beats the naive results by 0.5%)):
Original paper: https://arxiv.org/abs/1905.10437
See the notebook it's related to here (see
model_7
creation): https://github.com/mrdbourke/tensorflow-deep-learning/blob/main/10_time_series_forecasting_in_tensorflow.ipynb