using predictAndUpdateState with an LSTM with featureInputLayer

조회 수: 2 (최근 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 CenterFile Exchange에서 Sequence 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