How to get accuracy for each class in training dataset, testing dataset and validation dataset and overall accuracy
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I have trained a neural network and the confusion result is as shown in figure. I want to extract the detailed results in each line <not as an figure> as:
Accuracy of training confusion matrix for class 1= 100%
Accuracy of training confusion matrix for class 2= 100%
Accuracy of training confusion matrix = 100%
Accuracy of validation confusion matrix for class 1= 97.9%
Accuracy of validation confusion matrix for class 2= 99.5%
Accuracy of validation confusion matrix = 98.7%
Accuracy of test confusion matrix for class 1= 97.1%
Accuracy of test confusion matrix for class 2= 99.6%
Accuracy of test confusion matrix = 98.3%
Overall accuracy for class 1 = 99.2%
Overall accuracy for class 2 =99.9%
Overall accuracy = 99.6%
Thank you so much!
0 Kommentare
Antworten (0)
Siehe auch
Kategorien
Mehr zu String Parsing finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!