Is a LSTM parameter to sequence regression possible?

3 ビュー (過去 30 日間)
Linus Taenzer
Linus Taenzer 2020 年 6 月 18 日
回答済み: Divya Gaddipati 2020 年 6 月 23 日
Hello,
What happens if I have for example 30 different input parameters in a dataset and a corresponding signal as output and I want to predict this signal?
E.g. features are [X1, X2, X3, .... X30] and the label is a time dependent signal of length n [X31(t_1) X(31(t_2) X(31(t_3) .... X31(t_n)]
layers = [ ...
fullyConnectedLayer(30)
lstmLayer(numHiddenUnits,'OutputMode','sequence')
fullyConnectedLayer(n)
regressionLayer];
This did not work for me so far as I think there is a problem with the input layer?
Can someone help?

回答 (1 件)

Divya Gaddipati
Divya Gaddipati 2020 年 6 月 23 日
For a sequence input, you can use sequenceInputLayer.
sequenceInputLayer(featureDimension)
For more informatiom on sequenceInputLayer, refer to the following link:
Here's an example on Sequence-to-Sequence regression:

カテゴリ

Help Center および File ExchangeSequence and Numeric Feature Data Workflows についてさらに検索

製品


リリース

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by