What is a confusion matrix?
2 次查看(过去 30 天)
显示 更早的评论
I am working through the Wine Classification example, and by this point I've seen the Confusion Matrix a lot. What is it used for?

I am confused as to what these matrices are telling me(no pun intended). Take for example the 'Test Confusion Matrix,' what do the different colored boxes represent?
0 个评论
采纳的回答
Star Strider
2017-4-1
A Confusion matrix (link), specifically one that is (2x2), tells you the accuracy of your classifier. It will list correct classifications as ‘true positives’ or ‘true negatives’, and incorrect classifications as ‘false positives’ or ‘false negatives’. It is also possible to derive the sensitivity, specificity, positive predictive value, and others. This is particularly important in diagnostic tests for the presence or absence of a particular condition or disease based on a single test.
2 个评论
更多回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Deep Learning Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!