mrdbourke / tensorflow-deep-learning

All course materials for the Zero to Mastery Deep Learning with TensorFlow course.
https://dbourke.link/ZTMTFcourse
MIT License
5.05k stars 2.5k forks source link

Update 🛠_10_Time_series_fundamentals_and_Milestone_Project_3_BitPredi… #532

Open kahung33 opened 1 year ago

kahung33 commented 1 year ago

…ct_💰📈_Exercise_Solutions.ipynb

According to the documentation of tensorflow, the ds should be generate in this way,

data = price[:-WINDOW_SIZE] targets = price[WINDOW_SIZE:]

in the original code, both price are passed in, it simply treat the 1st data point in price as the first label

Bossenterprise commented 1 year ago

…ct_💰📈_Exercise_Solutions.ipynb

According to the documentation of tensorflow, the ds should be generate in this way,

data = price[:-WINDOW_SIZE]

targets = price[WINDOW_SIZE:]

in the original code, both price are passed in,

it simply treat the 1st data point in price as the first label