3
$\begingroup$

I am unable to infer anything about the model from the following confusion matrix. What is the color coding actually specifying?

For example, when predicted label is 1 and true label is 1, the value in the matrix at that point is 0.20. Does that mean its accuracy? Does it mean that the model is only able to predict 1 only 20% of times when the label is actually 1?

enter image description here

PS: SO URL for a more clear image

$\endgroup$
2
$\begingroup$

Each element_ab shows the probability of predicting label a (horizontal axis) when the true label is b (vertical axis) For example, when the true label is 0, it will be predicted as label 2 with the probability of 0.14

The color intensity indicates the probability of each element in a row

$\endgroup$
  • $\begingroup$ Okay, so the model is not good at all? For true = pred , probabilities are close to ~0.2 $\endgroup$ – Amanda Apr 25 at 8:12
  • $\begingroup$ Yes, it is not good at all. Most of the data is predicted as label 1, label 2, and also label 3. $\endgroup$ – Alireza Zolanvari Apr 25 at 8:17
  • $\begingroup$ But it gives a test accuracy of 85%. What do I infer from that? $\endgroup$ – Amanda Apr 25 at 8:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.