how do i calculate the accuracy of ANN?
Show older comments
how do i calculate the accuracy of ANN?
i have 10 structures of neural network. i want to find the best structure that can predict as close as possible to the actual value.i use trainlm. so, my question is,how can i choose the best structures other than mean absolute percentage error (MAPE)?
Accepted Answer
More Answers (1)
Greg Heath
on 18 Sep 2014
Edited: Greg Heath
on 18 Sep 2014
Insufficient info.
Are these classifiers? If so, are the class size ratios of the training data the same as that for unseen nontraining data?
There are four measures used for classifiers:
Bayesian Risk = sum(sum(Pi*Cij*pji)
Pi ith class prior probability
pij posterior probability estimate for ith class when the input is from class j
Cij misclassification cost (Cii=0)
ErrorRate = sum(Pi*Erri)
crossentropy1 = sum(ti*log(yi)) % Mutually exclusive classes
crossentropy2 = Entropy1 + sum((1-ti)*log(1-yi)% Nonmutually exclusive classes
Risk and crossentropy are best for design (Error rate is not continuous)
Error rate on nontraining data is best for selection.
Categories
Find more on Deep Learning Toolbox 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!