need help in confusion matrix details
2 次查看(过去 30 天)
显示 更早的评论
Hi
After training a network, I got this matrix
Can you explain the percentages written in the last row and column?
Does MATLAB have a code to calculate the following values?
accuracy
precision
recall.
F1 score
Thanks for your help
0 个评论
采纳的回答
the cyclist
2021-1-23
The green number in the upper-right box is the fraction of correctly classified entries in that row (and the red is the incorrect).
The green number in the bottom-left box is the fraction of correctly classified entries in that column (and the red is the incorrect).
The green number in the bottom-right corner (grayer than the others) is the overall fraction of correct classification.
================
There are several different methods to do classification, in MATLAB. For example, you could use the Classification Learner App. You can get some of the outputs you want from that. Personally, I have always found it quite quick and easy to just code the definitions myself, given the predicted and actual classes.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Classification Ensembles 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!