What is a confusion matrix?

조회 수: 2 (최근 30일)
Konnor Timmons
Konnor Timmons 2017년 4월 1일
답변: Siddharth kaveen 2021년 10월 12일
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?

채택된 답변

Star Strider
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
Konnor Timmons
Konnor Timmons 2017년 4월 1일
Thanks for the link, that helped even more
Star Strider
Star Strider 2017년 4월 1일
My pleasure.
I link to Wikipedia frequently in my Answers here.

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Siddharth kaveen
Siddharth kaveen 2021년 10월 12일
explain this matrix

카테고리

Help CenterFile Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by