How to Use RegressionLayer in LSTM of Nerual Network Toolbox?

4 Ansichten (letzte 30 Tage)
yan zhuang
yan zhuang am 15 Nov. 2017
Beantwortet: Wentao Du am 15 Mär. 2018
  • 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

Antworten (2)

Wentao Du
Wentao Du am 20 Nov. 2017

Wentao Du
Wentao Du am 15 Mär. 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 .

Kategorien

Mehr zu Deep Learning Toolbox finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!