LSTM-Neural-Network-for-Time-Series-Prediction
LSTM-Neural-Network-for-Time-Series-Prediction copied to clipboard
Does this code set the learning rate?when i use my own dataset,the loss becomes nan and i want to decrease the learning-rate but i cant find it
No, it takes the defaulf one by adam. If you want to change it, add it in the config.json and change it in the model.py
Change the LR by below code: K.set_value(model.optimizer.lr, 0.0001)
Also faced similar issues, but then realized the preprocessing work is insufficient, and null values in any part of your dataset can break the model, thus giving you nan losses.