@@ -60,6 +60,7 @@ def invert_scale(scaler, X, yhat):
# fit an LSTM network to training data
def fit_lstm(train, batch_size2, nb_epoch, neurons):
print(train)
X, y = train[:, 0:-1], train[:, -1]
X = X.reshape(X.shape[0], 1, X.shape[1])
print(X, y)
The note is not visible to the blocked user.