Matlab multiple time series network
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commenti
Greg Heath
il 13 Set 2016
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
Risposte (1)
Greg Heath
il 13 Set 2016
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
0 Commenti
Vedere anche
Categorie
Scopri di più su Sequence and Numeric Feature Data Workflows in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!