no. of samples while using 'train' for a neural network
Mostrar comentarios más antiguos
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..
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Matrix Indexing en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!