how can i analyze my neural network ?
Show older comments
i have create a newpr network with two hidden layers, and i want to analysis the the netwrok, i see the plot confusion and see the result, and i see also the plot performance, but i do not understand how can i analyze the result is it good or not. the mean square error is going down and the test confusion matrix is 83.5 is it good or what?
another thing why there is a validation matrix? and what is the meaning of best validation performance is 0.10113 at epoch 26 is that good or what ?
need help if anyone can help me
thanks a lot
Accepted Answer
More Answers (2)
Greg Heath
on 19 Sep 2012
0 votes
>i have create a newpr network with two hidden layers, and i want to analysis >the the netwrok, i see the plot confusion and see the result, and i see also >the plot performance, but i do not understand how can i analyze the result is >it good or not. the mean square error is going down and the test confusion >matrix is 83.5 is it good or what?
Depends on the nature of the problem (How many people die for each error?), the number of classes and the complexity of the target distribution.
>another thing why there is a validation matrix?
Default training stops 6 epochs after the validation error reaches a minimum. However you can overwrite the default.
>and what is the meaning of best validation performance is 0.10113 at epoch 26 >is that good or what ?
See above re "good". I like MSEval/MSE00 < 0.01 (MSE00 = var(t,1,2))
For c classes(categories) target matrix t should columns of eye(c) where the row index of the 1 indicates the correct class.
[ I N ] = size(x)
[ O N ] = size(t) % O = c
Neq = N*O % Number of scalar training equations.
MSE00 = var(t,1,2) % MSE for constant output
2. Sufficient to use one hidden layer. For H hidden nodes, there are
Nw =(I+1+*H+(H+1)*O = O+(I+O+1)*H % Number of unknown weights to estimate.
3. Require Neq > Nw but desire Neq >> Nw. Therefore try
H << (Neq-O)/(I+O+1)
4. MSEgoal = MSE00/200
Hope this helps.
Thanks for formally accepting my answer.
Greg
Nida
on 14 Jul 2013
0 votes
ahmad i was going through the same prb a few days back. MSE is basically needed to be as much minimum as it can be . In ur case, the value of 1.011e-01 is somewhat acceptable if ur output is correctly classified. The value of 83.5 for test confusion matrix is if the overall accuracy, it can be improved. A detailed answer provided by greg hearth on my problem can be found at
http://www.mathworks.es/matlabcentral/answers/79653-performance-estimate-of-pattern-recognition-tool
As you are using neural networks, try to increase ur dataset and also check the performance parameters for neural networks that are precision, recall etc. and from that calculate F-Score that tells u abt the performance of ur model. It should be towards 1 in the range of 0-1
3 Comments
afef
on 12 Jun 2017
Hi, Nida i'm stuck with improving the accuracy of my neural network tha i created using nprtool i tried to use larger dataset i mean for the input which is a matrix with size 9*1012 or changing the number of neurons in the hidden layer or changing the training function but still the accuracy is 66% so ca you please help me i need this for my master project .Thanks
Walter Roberson
on 12 Jun 2017
It is unlikely that Nida is still reading here, 4 years later. Nida will not be notified about your comment. You could try clicking on Nida's name above to reach their profile and then use the Contact button to send Nida email.
Categories
Find more on Visualization and Interpretability in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!