Matlab multiple time series network

조회 수: 5 (최근 30일)
Tu Yuan Neoh
Tu Yuan Neoh 2016년 9월 11일
답변: Greg Heath 2016년 9월 13일
Hi all,
I'm trying to create a neural network which can handle 6 time series(MAH,BJ,IJM,STAR,TM,TNB) with 9 elements for each time series.
%%prep input data
inputMAH=tonndata(MAHinnorm,false,false);
inputBJ=tonndata(BJinnorm,false,false);
inputIJM=tonndata(IJMinnorm,false,false);
inputSTAR=tonndata(STARinnorm,false,false);
inputTM=tonndata(TMinnorm,false,false);
inputTNB=tonndata(TNBinnorm,false,false);
%%prep output data
outputMAH=tonndata(MAHoutnorm,false,false);
outputBJ=tonndata(BJoutnorm,false,false);
outputIJM=tonndata(IJMoutnorm,false,false);
outputSTAR=tonndata(STARoutnorm,false,false);
outputTM=tonndata(TMoutnorm,false,false);
outputTNB=tonndata(TNBoutnorm,false,false);
%%Concatenate data
input=catsamples(inputMAH,inputBJ,inputIJM,inputSTAR,inputTM,inputTNB);
output=catsamples(outputMAH,outputBJ,outputIJM,outputSTAR,outputTM,outputTNB);
As above I concatenated the 6 time series into an array which ntstool recognizes as 6 independent time series. However, I'd like to know if ntstool actually created 6 independent neural network from these 6 time series or a single network that is based on all the 6 time series, somewhat like a panel data regression. The output of a single time series NN which I created just to test is quite different to the corresponding output of the concatenated time series NN(both using trainbr and divideblock). Thanks!
  댓글 수: 3
Tu Yuan Neoh
Tu Yuan Neoh 2016년 9월 12일
Unfortunately there isn't much I can do to get around the data limitation. Have you got any insights regarding my question though?
Greg Heath
Greg Heath 2016년 9월 13일
The net recognizes a data input matrix with size [ I N ] as one I dimensional function.
You can get around the data situation (as I have zillions
of time)
1. Obtain the summary statistics of your data. In my case I
used means, variances and correlations of the data to
SIMULATE data with the same summary statistics.
2. Use the simulated data to design, validate and test
nets.
3. Since there is no limit to the amount of simulated data,
you should get a good sense of how real data behaves.
4. Choose the best m nets.
5. Test the nets on the original real data and, possibly,
new real data obtained during and after the design phase.
Hope this helps.
Thank you for formally accepting my answer
Greg

댓글을 달려면 로그인하십시오.

답변 (1개)

Greg Heath
Greg Heath 2016년 9월 13일
The net recognizes a data input matrix with size [ I N ] as one
I dimensional function. You can get around the data situation
(as I have zillions of time)
1. Obtain the summary statistics of your data. In my case I
used means, variances and correlations of the data to
SIMULATE data with the same summary statistics.
2. Use the simulated data to design, validate and test
nets.
3. Since there is no limit to the amount of simulated data,
you should get a good sense of how real data behaves.
4. Choose the best m nets.
5. Test the nets on the original real data and, possibly,
new real data obtained during and after the design phase.
Hope this helps.
Thank you for formally accepting my answer
Greg

카테고리

Help CenterFile Exchange에서 Sequence and Numeric Feature Data Workflows에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by