Created
January 15, 2023 16:43
-
-
Save kiddojazz/e58a4bfaf18e5b59dc35d1061a98a30b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Create the testing data set | |
#Create a new array containing scaled values from index 1543 to 2003 | |
test_data = scaled_data[training_data_len - 60: , :] | |
#Create the data sets x_test and y_test | |
x_test = [] | |
y_test = dataset[training_data_len:, :] | |
for i in range(60, len(test_data)): | |
x_test.append(test_data[i-60:i, 0]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment