Draw confusion matric

version 1.0.0 (1.59 KB) by Jiaming Li
Draw confusion matric


Updated 13 Jun 2022

View License

CM: Confusion matric, every column is predicted values of samples of a true label
'labelname', deafult=numbers start from 1, the name of the x- and y-ticklabel
'power', default=1/3 ,0~1, smaller and the mislabeled values more visible
'MCcolor', default='bone', color of the confusion matric
'fontcolor_diag', default='black'
'fontcolor_nondiag', default='white'
'MCsize',default=[0.118,0.2], width and hight

Cite As

Jiaming Li (2022). Draw confusion matric (https://www.mathworks.com/matlabcentral/fileexchange/113200-draw-confusion-matric), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2022a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!