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!
