Error Displaying confusion matrix
1 回表示 (過去 30 日間)
古いコメントを表示
CHRISTOPHER MILLAR
2020 年 3 月 18 日
コメント済み: Ahmed Driouech
2021 年 12 月 15 日
I am trying to plot a simple confusion matrix using the plotconfusion command
outp = double(YTDKURTPred{idx,1});
targ = double(YTestTD);
plotconfusion(targ,outp)
targ is a series of labels from 1 - 4 (154 X 1)
outp is a series of predictions made by the LSTM network (154 X 1)
when i try and display the results
Is there an error with my code or is it a graphics issue?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/277912/image.png)
Thanks in advance
4 件のコメント
Ahmed Driouech
2021 年 12 月 15 日
that doesnt work for me for some reason. What I had before is this:
labels=EMNIST_train(:,1);
targets= dummyvar(labels);
採用された回答
その他の回答 (0 件)
参考
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!