You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
train_X,train_Y = [],[]
for i in range(0 , len(train_scaled) - window_size):
train_X.append(train_scaled[i:i+window_size])
train_Y.append(train_scaled[i+window_size])
The parameter "test_data" can't be found, so I think it should be "residuals". And about "train = np.array(train).reshape(-1,1)", I don't know the meaning of the parameter "train" , it also should be "residuals".
The text was updated successfully, but these errors were encountered:
#lstm_model = make_lstm_model()
min_max_scaler = preprocessing.MinMaxScaler()
train = np.array(train).reshape(-1,1)
train_scaled = min_max_scaler.fit_transform(test_data)
train_X,train_Y = [],[]
for i in range(0 , len(train_scaled) - window_size):
train_X.append(train_scaled[i:i+window_size])
train_Y.append(train_scaled[i+window_size])
The parameter "test_data" can't be found, so I think it should be "residuals". And about "train = np.array(train).reshape(-1,1)", I don't know the meaning of the parameter "train" , it also should be "residuals".
The text was updated successfully, but these errors were encountered: