Can anyone help me with plotting a simple confusion matrix?

13 ビュー (過去 30 日間)
Selena Johnson
Selena Johnson 2018 年 9 月 17 日
編集済み: Jesús Díaz 2020 年 8 月 27 日
I am trying to plot a simple confusion matrix which consists of 10 classes. I tried the 'confusionchart' function and received the error "Adding ConfusionMatrixChart to axes is not supported. Turn hold off.". I also tried the 'plotconfusion' function but received of an error of "too many input arguments". Can anyone help me?
  1 件のコメント
Kaushik Lakshminarasimhan
Kaushik Lakshminarasimhan 2018 年 9 月 17 日
How is your data stored? Can you share sample code you tried?

サインインしてコメントする。

回答 (1 件)

Jesús Díaz
Jesús Díaz 2020 年 6 月 3 日
編集済み: Jesús Díaz 2020 年 8 月 27 日
A bit late for answer, but here it is for future searches.
It seems a conflict with Figure. It possible that some kind of graphic or image were generated previously, so I think you should try to create a new figure before the confusion matrix.

カテゴリ

Help Center および File Exchange2-D and 3-D Plots についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by