How plot a matrix for Naive Bayes classifier?
Mostrar comentarios más antiguos
I want to illustrate the matrix as shown in the picture

this is a part of the code
fh = figure('Name', 'Confusion matrix', ...
'NumberTitle', 'off');
plotmat(cMat1, 'k', 'k', 15);
title(['Classification rate: ' num2str(classificationrate) '% for Naive Bayes Classifier'], 'FontSize', 14);
but it says Undefined function or variable 'plotmat'.
does has
any function instead plotmat?
2 comentarios
Brendan Hamm
el 20 de Sept. de 2018
Try heatmap or imagesc.
Bajdar Nour
el 21 de Sept. de 2018
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Naive Bayes en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!