Skip to content

Conversation

@kahung33
Copy link

…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

…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
Copy link

…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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants