1
0
mirror of https://github.com/newnius/YAO-optimizer.git synced 2025-12-15 09:06:43 +00:00
This commit is contained in:
2020-05-02 12:42:09 +08:00
parent a43cb031c1
commit fd6085ae14
2 changed files with 2 additions and 2 deletions

View File

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