How to Use RegressionLayer in LSTM of Nerual Network Toolbox?

3 次查看(过去 30 天)
  • 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

回答(2 个)

Wentao Du
Wentao Du 2017-11-20

Wentao Du
Wentao Du 2018-3-15
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 .

类别

Help CenterFile Exchange 中查找有关 Deep Learning Toolbox 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!