0
$\begingroup$

I don’t understand the confusion with the matrix for Binary Classification. I was referring different documents for this, meaning sometime I see that the confusion matrix is plotted Actual Class Vs Predicted Class and some time it is plotted as Predicted Class vs Actual Class. So when doing this True Positive and True Negative gets switch. So just wondering what is the standard way to plot confusion matrix.

I have attached the images which i found from various sources...

enter image description here

enter image description here

$\endgroup$
3
  • 1
    $\begingroup$ There is no standard way to make a confusion matrix. Both versions you posted are correct according to their axes labels. $\endgroup$
    – JTH
    Nov 7, 2020 at 4:52
  • $\begingroup$ @JTH That looks like an answer to me! $\endgroup$
    – Dave
    Nov 7, 2020 at 4:58
  • $\begingroup$ Okay, I will promote my comment to an answer. $\endgroup$
    – JTH
    Nov 7, 2020 at 19:14

1 Answer 1

2
$\begingroup$

There is no standard way to make a confusion matrix. Both versions you posted are correct according to their axis labels

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.