LSTM networks are well-suited to classifying, processing and making predictions based on time series data, since there can be lags of unknown duration between important events in a time series . LSTMs were developed to deal with the vanishing gradient problem that can be encountered when training traditional RNNs.