Skip to content

Commit e568d64

Browse files
committed
fix backcast creation in N_BEATS model
1 parent 1673987 commit e568d64

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: 10_time_series_forecasting_in_tensorflow.ipynb

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"name": "10_time_series_forecasting_in_tensorflow.ipynb",
88
"provenance": [],
99
"collapsed_sections": [],
10-
"authorship_tag": "ABX9TyOg0AjtO/b6HxZxVx292gML",
10+
"authorship_tag": "ABX9TyOn99CSV9y2h4ZBT3mbjba3",
1111
"include_colab_link": true
1212
},
1313
"kernelspec": {
@@ -6706,7 +6706,7 @@
67066706
"stack_input = layers.Input(shape=(INPUT_SIZE), name=\"stack_input\")\n",
67076707
"\n",
67086708
"# 3. Create initial backcast and forecast input (backwards predictions are referred to as residuals in the paper)\n",
6709-
"residuals, forecast = nbeats_block_layer(stack_input)\n",
6709+
"backcast, forecast = nbeats_block_layer(stack_input)\n",
67106710
"# Add in subtraction residual link, thank you to: https://github.com/mrdbourke/tensorflow-deep-learning/discussions/174 \n",
67116711
"residuals = layers.subtract([stack_input, backcast], name=f\"subtract_00\") \n",
67126712
"\n",

0 commit comments

Comments
 (0)