Invalid training data. Sequence responses must have the same sequence length as the corresponding predictors.

3 ビュー (過去 30 日間)
Hi , I have a simple regression NN for time sequences .
Got an error when training the network : "Invalid training data. Sequence responses must have the same sequence length as the corresponding predictors. " . While my XTrain data is a cell array dim(Nx1) of sequences dim(1x10) and YTrain data is cell array dim(Nx1) of sequences sim(1x1) ...Please advise why the response sequences need to be the same length as the predictors ?
Architecture of the network :

採用された回答

yanqi liu
yanqi liu 2021 年 12 月 30 日
yes,sir,may be set sequenceInputLayer to
sequenceInputLayer(10, ……)
to match the input data,1*10 dimension
  6 件のコメント
Igor Lisogurski
Igor Lisogurski 2022 年 1 月 25 日
Hi @yanqi liu sorry for late reply ....Thanks a lot , it worked for me , appriciate your help

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSupport Vector Machine Regression についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by