Testing a Backpropagation Neural Network
4 次查看(过去 30 天)
显示 更早的评论
I have developed a backpropagation Neural Network in Matlab. The script for training the Network works fine and predicted output follows the expected output.
The weights, biases, network architecture,inputs, targets from training network are stored in the .mat file. This .mat file is then loaded in the testing script and only the forward propagation part is implemented in the testing script to get the expected output.
However, the output from testing is not anywhere close to the expected output even though the training accuracy is quite high (more than 95% in each run).
Is it because the network is not being trained enough or Is it some problem with the code that needs debugging? Can someone tell the reason for it and any possible solutions to the problem.
Attached are the files used for training and testing.
Any leads would be appreciated.
0 个评论
采纳的回答
Greg Heath
2019-2-10
You are probably
OVERTRAINING AN OVERFIT NET
OVERFITTING: Using more unknown hidden nodes than number of training equations
OVERTRAINING:Training longer than is practical for a good solution.
I have written several zillion posts in both the NEWSGROUP and ANSWERS
Hope this helps
Thank you for formally accepting my answer
Greg
更多回答(1 个)
Miss Jenny
2019-10-1
Can someone tell me how to test the networks, i have training the dataset by using the pattern recognition apps in the toolbox. But i don't know how to proceed with testing the networks.
0 个评论
另请参阅
类别
在 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!