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 CenterFile Exchange에서 Support Vector Machine Regression에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by