Do I need to convert my data to sequence before using Elman neural network.

my input and output data are both matrices where rows are spatial units (e.g., states, provinces or counties) and columns are time points (i.e., years, days or months). I saw the data in the example Matlab codes are converted to sequences:
P=round(rand(1,8));
T=[0 (P(1:end-1)+P(2:end)==2)];
net=newelm([0 1], [5 1], {'tansig', 'logsig'}, 'trainbfg');
Pseq=con2seq(P); %convert to sequence
Tseq=con2seq(T); %convert to sequence

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기

질문:

2015년 6월 25일

답변:

2015년 6월 27일

Community Treasure Hunt

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

Start Hunting!

Translated by