I have classified the 15 classes dataset using machine learning algorithms. I don't want to put confusion matrix table since it is 15×15 matrix, instead, I want to represent it in a graphical way, which is more pleasant to visualize. Would you kindly recommend any technique? It would be better if it is using ggplot. Thank you so much. Waiting for your reply.
Solved – the best way of graphical or visual representation of confusion matrix
classificationconfusion matrixdata visualizationggplot2
Best Answer
The above code calculates correlation between different features of the cars data. The correlation matrix is similar to confusion matrix both of them are square matrices.
Below is the visualisation of the correlation matrix.
If you have any doubts please comment below.