Cm2Im
Versione 1.0.1 (1,43 KB) da
Parth Dethaliya
Convert your confusion matrix to image with gray colored base boxes (based on percentage and text color of your choice.
Unlike in-built function in matlab to plot Confusion matrix named "plotconfusion" here you can select number of pixels per value in confusion matrix.
for example,
if it is binary classification and CM is 2*2 then you can have 200*200 sized output image with 100*100 sized box for each value or of any other value you need. also you can change color of text written in image and font size.
Cita come
Parth Dethaliya (2024). Cm2Im (https://www.mathworks.com/matlabcentral/fileexchange/78005-cm2im), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Creato con
R2020a
Compatibile con R2013a fino a R2020a
Compatibilità della piattaforma
Windows macOS LinuxTag
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.