How to get accuracy for each class in training dataset, testing dataset and validation dataset and overall accuracy
2 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で String Parsing についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!