MATLAB Answers

0

Help needed for Plotting Confusion Matrix as given in the sample image

Asked by Rachana Aravind on 10 Aug 2019
Latest activity Answered by Kaashyap Pappu on 16 Aug 2019
How to plot confusion matrix like the given image?

  3 Comments

Rachana, please explain with a lot more detail what you already have, already know, and what you need help with.
For example ...
Do you already know how to generate the confusion matrix itself, or do you need help geting that? Is that all you need -- just the numbers?
Or do you have the matrix itself, but need help formating it to visually look like the image you have? How close to that image does it need to be? Do you need those colors?
Do you need help with the labels? Does it have to be two levels of labels, like in the image? Etc.
Maybe you see now that you have not really given us enough information to help you.
ConfusionMatrix.PNG
This is the confusion matrix I can get. Yes, I need help to have to be two levels of labels, like in the image I would like to group the labels similar to the confusion matrix given in my question. I am not concerned with numbers and colours.
Sorry for not being specific and Thanks for your reply.
Could you help me please

Sign in to comment.

1 Answer

Answer by Kaashyap Pappu on 16 Aug 2019
 Accepted Answer

I have brought this issue to the notice of our developers. They will investigate the matter further.
For the time being, you could use xlswrite to write the confusion matrix to an Excel®Spreadsheet, along with the labels to generate the same in Excel®. You could then edit the sheet as you see fit.
Hope this helps.

  0 Comments

Sign in to comment.