LSTM update
Browse files
app.py
CHANGED
@@ -93,7 +93,7 @@ y_train, y_test = y[:split_index], y[split_index:]
|
|
93 |
model = build_lstm_model(X_train, output_size=1, neurons=lstm_neurons, dropout=dropout, loss=loss, optimizer=optimizer)
|
94 |
|
95 |
# Saved Weights
|
96 |
-
file_path = "
|
97 |
|
98 |
# Loads the weights
|
99 |
model.load_weights(file_path)
|
|
|
93 |
model = build_lstm_model(X_train, output_size=1, neurons=lstm_neurons, dropout=dropout, loss=loss, optimizer=optimizer)
|
94 |
|
95 |
# Saved Weights
|
96 |
+
file_path = "LSTM_" + ticker + "_weights.h5"
|
97 |
|
98 |
# Loads the weights
|
99 |
model.load_weights(file_path)
|