no. of samples while using 'train' for a neural network
이전 댓글 표시
I am solving an 'Input-Output Time-Series Problem with a Time Delay Neural Network'.
I am getting an error in the statement-
[net,tr] = train(net,inputs,targets,inputStates,layerStates);
error-- 'Inputs and targets have different numbers of samples'
the dimensions of the various variable are--
inputStates = 1*2 cell
inputs= 1*59 cell
layerStates=1*2 cell
targets=1*59 cell.
Also each column of 'inputs' cell array is a vector of 5 double values. i.e using 5 features of a problem we are predicting a target value. number of timestamps=61, input delays=2.
I dont why is the error??? inputs and targets shows the same dimensions in workspace too..
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Matrix Indexing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!