NARX multi step predictions for external test data by using training data?
Afficher commentaires plus anciens
I am trying to build a network to do some long term predictions. I've uploaded the data and the network architecture. My data is comprised of two datasets (training and test subsets as attached). NARX neural network is used for training Input_Data and Output_Data. Then I tried to make multiple step predictions for test set (Input_Data1 and Output_Data1) by using trained net function but I cannot do predictions longer than length of test day and the predictions are very poor. When I replace the test input data with train data to predict output time steps as {x2 = X(1,predictOutputTimesteps); >> x2 = X2(1,predictOutputTimesteps);} and {LI=length(Input_Data1); >> LI=length(Input_Data);}, the result follows same pattern with train data.
How can I correctly form multi step predictions for test data by using net functions of training data?
I hope I was clear in my query.
6 commentaires
Greg Heath
le 14 Mai 2015
Modifié(e) : Greg Heath
le 14 Mai 2015
Having trouble with *.mat
How about posting the data in a *.m or *.txt
Greg
Oguz BEKTAS
le 14 Mai 2015
Greg Heath
le 14 Mai 2015
1. CORRECTION: Replace *.tst with *.txt
2. WARNING: You cannot name a file narx.m
3. The data.m file is missing X = Input_Data % 191 x 24
Oguz BEKTAS
le 14 Mai 2015
Greg Heath
le 14 Mai 2015
>Please, import the data as tables.
I have no idea what that means.
Please give me the commands to read these 4 data files into matrices.
Oguz BEKTAS
le 21 Mai 2015
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Discriminant Analysis dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!