Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

parameter #4

Open
Anohana8 opened this issue Sep 26, 2020 · 0 comments
Open

parameter #4

Anohana8 opened this issue Sep 26, 2020 · 0 comments

Comments

@Anohana8
Copy link

Anohana8 commented Sep 26, 2020

#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".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant