How to calculate accracy of neural network using ANN toolbox matlab
조회 수: 3 (최근 30일)
이전 댓글 표시
Hi all can anyone tell me how do i find the accuracy measure of neural network when using nntoolbox for pattern recognition? If I get mse on trainning= 2.63617e-7 and %E=0; mse on validation= 1.00120e-2 and %E=6.666e-0; and mse on testing=3.73162e-3 %E=0, how can i calculate the accuracy??? and how can i know if my network is overfitting. Thanks very much!
댓글 수: 0
채택된 답변
Greg Heath
2012년 3월 7일
Number of classes c = ?
Number of input/target examples per class Ni = ? % i= 1:c
Dimensionality of input I = ?
Dimensionality of output O = ? % c or c-1?
Total number of I/O pairs N = sum(Ni) = ?
Data division ratio per class Ntrni/Nvali/Ntrni = ? % i= 1:c
Number of hidden nodes H = ?
Number of random weight initialization trials Ntrials = ?
Min, median, mean, std and max of PctErr (%E invalid name) over Ntrials
Similar tabulations per class.
Although training goal is to minimize MSEval because PctErrval is discontinuous, the only important results are the PctErrval and PctErrtst stats.
Hope this helps.
Greg
댓글 수: 0
추가 답변 (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!