62,気温の分析(モデルの設定と実行)
コードは以下
X_train, y_train, X_test, y_test =\
preprocess(scaled_close, SEQ_LEN, train_split = 0.95)
DROPOUT = 0.2
WINDOW_SIZE = SEQ_LEN - 1
model = Sequential()
model.add(LSTM(WINDOW_SIZE, activation = 'tanh', input_shape=(WINDOW_SIZE, X_trai