Here is the code for training an LSTM network in MATLAB:
main.m693 chars27 lines
This code assumes that your data is stored in a file called myData.mat with your inputs in a variable called inputs and your outputs in a variable called outputs. You will need to modify the network architecture, training options, and input/output format based on your specific use case.
gistlibby LogSnag