diff --git "a/extras/solutions/\360\237\233\240_10_Time_series_fundamentals_and_Milestone_Project_3_BitPredict_\360\237\222\260\360\237\223\210_Exercise_Solutions.ipynb" "b/extras/solutions/\360\237\233\240_10_Time_series_fundamentals_and_Milestone_Project_3_BitPredict_\360\237\222\260\360\237\223\210_Exercise_Solutions.ipynb" index 6312a98..f92017d 100644 --- "a/extras/solutions/\360\237\233\240_10_Time_series_fundamentals_and_Milestone_Project_3_BitPredict_\360\237\222\260\360\237\223\210_Exercise_Solutions.ipynb" +++ "b/extras/solutions/\360\237\233\240_10_Time_series_fundamentals_and_Milestone_Project_3_BitPredict_\360\237\222\260\360\237\223\210_Exercise_Solutions.ipynb" @@ -1535,7 +1535,7 @@ }, "source": [ "ds = tf.keras.utils.timeseries_dataset_from_array(\n", - " data = prices , targets = prices , sequence_length = WINDOW_SIZE , sequence_stride = HORIZON, \n", + " data = prices[:-WINDOW_SIZE] , targets = prices[WINDOW_SIZE:] , sequence_length = WINDOW_SIZE , sequence_stride = HORIZON, \n", " batch_size = 128\n", ")" ], @@ -4784,4 +4784,4 @@ "outputs": [] } ] -} \ No newline at end of file +}