Testing neural network's forecasting ability
1 次查看(过去 30 天)
显示 更早的评论
Hello,
I'm quite new to neural networks, but I'm currently using them to forecast demand per month of a production company. I've build a neural network using the nnstart command and I chose the time series option. The network building, testing and validation is working great, and I can plot a graph of the outcomes of the ANN as well as the "feedback" matrix, which contains the true values. However, I want to test the forecasting abilities by letting the network predict new values WITHOUT RE-TRAINING the network!
I've tried certain things already, but I just cannot get it to work yet. Does anyone have a solution for my problem? In short:
- I built a network, and tested it with data from 3 years
- I want to see how the network forecasts the first 6 months of the 4th year, data that is not included in the training data
Thanks in advance, as I said I'm quite new to Neural Networks so maybe the solution is very easy.
1 个评论
Greg Heath
2014-12-7
Insufficient information.
Which net?
What delays and hidden node size?
input matrix size?
target matrix size?
trn/val/tst ratios?
采纳的回答
Greg Heath
2014-12-8
Your code works on the dataset in the documentation
help narnet
doc narnet
However, I did not try it on any of the other NARNET example datasets:
help nndatasets
doc nndatasets
I can only quote my general approach :
a. Test code on one or more a MATLAB example datasets
b. Use your data to obtain the best openloop performance of multiple (>=10) designs
c. If closing the loop sufficiently degrades performance, then train netc.
Hope this helps
Thank you for formally accepting my answer
Greg
更多回答(1 个)
Greg Heath
2014-12-8
Your so called "feedback" matrix is the "target" matrix. It is used in the nar and narx nets for openloop design(training and validation)and testing.
To forecast beyond your original data, you have to go into the closeloop mode. The output matrix then becomes the feedback matrix.
I have many posts in the NEWSGROUP and ANSWERS you can reference. Search on
greg closeloop
Hope this helps.
Thank you for formally accepting my answer
Greg
另请参阅
类别
在 Help Center 和 File 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!