How to Use RegressionLayer in LSTM of Nerual Network Toolbox?

3 ビュー (過去 30 日間)
yan zhuang
yan zhuang 2017 年 11 月 15 日
回答済み: Wentao Du 2018 年 3 月 15 日
  • 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 Center および File ExchangeDeep Learning Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!