1
0
mirror of https://github.com/newnius/YAO-optimizer.git synced 2025-12-13 08:26:43 +00:00
This commit is contained in:
2020-05-02 12:05:02 +08:00
parent f84743b291
commit 3c707ca1fc
3 changed files with 33 additions and 33 deletions

View File

@@ -90,7 +90,7 @@ def experiment(repeats, series, seed):
supervised = timeseries_to_supervised(diff_values, lag2)
supervised_values = supervised.values
# split data into train and test-sets
test_data_num = 4
test_data_num = 12
train, test = supervised_values[0:-test_data_num], supervised_values[-test_data_num:]
# transform the scale of the data
print(test)