# Is this LSTM model underfitting?

I think this model is underfitting. Is this correct?

_________________________________________________________________
Layer (type)                 Output Shape              Param #
=================================================================
lstm_1 (LSTM)                (50, 60, 100)             42400
_________________________________________________________________
dropout_1 (Dropout)          (50, 60, 100)             0
_________________________________________________________________
lstm_2 (LSTM)                (50, 60)                  38640
_________________________________________________________________
dropout_2 (Dropout)          (50, 60)                  0
_________________________________________________________________
dense_1 (Dense)              (50, 20)                  1220
_________________________________________________________________
dense_2 (Dense)              (50, 1)                   21
=================================================================


The above is a summary of the model.
Any advice on how the model could be improved?

• I'd recommend renaming the Question Title to "Is this LSTM model underfitting?" rather than "Is this Keras LSTM model underfitting?" because there is nothing specific to keras in this question. Aug 28, 2021 at 2:06