MATLAB: How to train LSTM

lstm

Hi, Im trying to train a LSTM neural network with sensors data that is used in realtime applications. But I cant write a piece of code for training the Network and put in in my main code. Would you please help to solve this problem?

Best Answer

From R2017b, lstmLayer was introduced. In order to train the LSTM network, trainNetwork function will be used.
In documentation, there are a couple of examples of LSTM for time series data and it's better to start with these examples.
Related Question