1
0
mirror of https://github.com/newnius/YAO-optimizer.git synced 2025-12-13 00:16:44 +00:00
This commit is contained in:
2020-05-02 09:27:31 +08:00
parent dcc7664f85
commit c5d3fdef8d
2 changed files with 13 additions and 13 deletions

View File

@@ -109,7 +109,7 @@ predictions = list()
for j in range(len(test_scaled)):
# make one-step forecast
X, y = test_scaled[j, 0:-1], test_scaled[j, -1]
yhat = forecast_lstm(lstm_model, 1, X)
yhat = forecast_lstm(lstm_model, 32, X)
# invert scaling
yhat = invert_scale(scaler, X, yhat)
# invert differencing