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 11:11:28 +08:00
parent e7437e5a98
commit 106cffc1a3
2 changed files with 10 additions and 11 deletions

View File

@@ -104,7 +104,7 @@ def experiment(repeats, series, seed):
t2 = test.shape[0] % batch_size
train_trimmed = train_scaled[train_scaled.shape[0] - t1 * batch_size:, :]
lstm_model = fit_lstm(train_trimmed, batch_size, 300, 4)
lstm_model = fit_lstm(train_trimmed, batch_size, 3000, 4)
# forecast the entire training dataset to build up state for forecasting
print(train_trimmed)
print(train_trimmed[:, 0])