how to fine correct classification for each class in NN
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
mustafa alnasser
il 17 Ott 2014
Risposto: Greg Heath
il 18 Ott 2014
Dear All
I have 2 questions:
1- What does false/ negative, positive rate and correct neagtive, positive rate means in NN.
2- How to find total correct classification for each class.
0 Commenti
Risposta accettata
Greg Heath
il 18 Ott 2014
target output label
0 0 true negative
0 1 false positive
1 0 false negative
1 1 true positive
The target matrix contains 0-1 column unit vectors
trueclassindices = vec2ind(target)
assignedclassindices = vec2ind(output)
err = assignedclassindices~=trueclassindices
Nerr = sum(err)
individual class errors are ontained via
ind1 = trueclassindices==1'
etc
Thank you for formally accepting my answer
Greg
0 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Sequence and Numeric Feature Data Workflows in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!