An alternative to plotconfusion from the Neural Network Toolbox.
Vahe Tshitoyan (2020). Plot Confusion Matrix (https://github.com/vtshitoyan/plotConfMat), GitHub. Retrieved .
Thank you so much
Thanks for your feedback. You can change gray on line 41 in plotConfMat.m to the colormap of your choice.
Is there a way to change the colors?
Actually how do I save that as a figure please ?
Hi, Vahe Tshitoyan
Nice work, maybe can add some more description for ease of usage. For example.
% Find the confusionmat matrix first
[C,order] = confusionmat(TestResults,PredictionResults)
% Then, plot
plotConfMat(C) plots the confmat with integers 1 to n as class labels
plotConfMat(C, order) plots the confmat with the specified labels
Updated the description.
Updated the avatar.