How to Use RegressionLayer in LSTM of Nerual Network Toolbox?
1 view (last 30 days)
Show older comments
- I want to build a network:
- input layer:64 units ----> hidden layer (LSTM): 1024 units ----> output layer(Fully connect + softmax):64 units
- output's type is a float number in [0,1]
- The question is how can i use lstm in Nerual Network Toolbox to build a network
0 Comments
Answers (2)
Wentao Du
on 15 Mar 2018
In the newest release of MATLAB R2018a, LSTM can be used for regression problems: https://www.mathworks.com/help/releases/R2018a/nnet/release-notes.html
For an example showing how to forecast future values in a time series, see Time Series Forecasting Using Deep Learning .
For an example showing how to create an LSTM network for sequence-to-sequence regression, see Sequence-to-Sequence Regression Using Deep Learning .
0 Comments
See Also
Categories
Find more on Deep Learning Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!