How to plot a confusion matrix ?
1 回表示 (過去 30 日間)
古いコメントを表示
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:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/171800/image.png)
And when i put the two vectors into double I have again an error:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/171801/image.png)
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
0 件のコメント
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Line Plots についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!