using predictAndUpdateState with an LSTM with featureInputLayer

6 ビュー (過去 30 日間)
ThomasP
ThomasP 2022 年 4 月 12 日
回答済み: Zhiyu WANG 2022 年 5 月 25 日
Hello,
I'd like to ask if it's possible to use "predictAndUpdateState" with an LSTM that has an featureInputLayer?
If I train my LSTM with a sequenceInputLayer everything works fine, but when I use a featureInputLayer the training works, prediction using the regular predict() works as well, but for "predictAndUpdateState" I get the error:
predictAndUpdateState and classifyAndUpdateState support recurrent neural networks only.
Is it possible to make predictAndUpdateState work using an LSTM that has been trained using a featureInputLayer?

採用された回答

Zhiyu WANG
Zhiyu WANG 2022 年 5 月 25 日
LSTM requires somelike "timeseries" data while "featureInputLayer" is not along with that.Yo ucan refer to this answer:

その他の回答 (0 件)

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by