How to plot a confusion matrix ?

1 visualización (últimos 30 días)
Pierre Lonfat
Pierre Lonfat el 4 de Abr. de 2018
Editada: Pierre Lonfat el 4 de Abr. de 2018
Dear Matlab experts,
I have a issue with this function:
plotconfusion(Ytest.grade,app.predict)
When I put the tow vectors into categorical I have this error:
And when i put the two vectors into double I have again an error:
So how can I plot this confusion matrix then ?
NB: the function
app.confusionMat = confusionmat(Ytest.grade, app.predict);
works perfectly well !
Many thanks in advance !
Pierre

Respuestas (0)

Categorías

Más información sobre Surface and Mesh Plots en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by