mirror of
https://github.com/newnius/YAO-optimizer.git
synced 2025-06-07 15:11:56 +00:00
update
This commit is contained in:
parent
bda8bd6ffc
commit
c9ff63fbbf
2
train.py
2
train.py
@ -108,7 +108,7 @@ def experiment(repeats, series, seed):
|
|||||||
t2 = test.shape[0] % batch_size
|
t2 = test.shape[0] % batch_size
|
||||||
|
|
||||||
train_trimmed = train_scaled[t1:, :]
|
train_trimmed = train_scaled[t1:, :]
|
||||||
lstm_model = fit_lstm(train_trimmed, batch_size, 300, 4)
|
lstm_model = fit_lstm(train_trimmed, batch_size, 30, 4)
|
||||||
# forecast the entire training dataset to build up state for forecasting
|
# forecast the entire training dataset to build up state for forecasting
|
||||||
print(train_trimmed)
|
print(train_trimmed)
|
||||||
print(train_trimmed[:, 0])
|
print(train_trimmed[:, 0])
|
||||||
|
Loading…
Reference in New Issue
Block a user