Skip to content

Instantly share code, notes, and snippets.

@joeng03
Created November 13, 2019 09:40
Show Gist options
  • Save joeng03/27fbf056f8b45bef4dfd2e9efbdee344 to your computer and use it in GitHub Desktop.
Save joeng03/27fbf056f8b45bef4dfd2e9efbdee344 to your computer and use it in GitHub Desktop.
for i in range(65,y_train.shape[0]):
a_train.append(X_train[i-65:i-5,0])
b_train.append(y_train[i-5:i,0])
for x in range(65,y_test.shape[0]):
c_test.append(X_test[x-65:x-5,0])
d_test.append(y_test[x-5:x,0])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment