Is it possible to plot a confusion matrix where the Output class will be on X-Axis and Target Class will be on Y-Axis

1 回表示 (過去 30 日間)
Shamim
Shamim 2018 年 4 月 4 日
編集済み: Shamim 2018 年 4 月 4 日
I used the command as given to create a confusion matrix and got a plot as given in the figure but I want the matrix Output class on X-Axis and Target Class on Y-Axix
on Y-Axis
plotconfusion(trueclass,predictedclass)
h=gca;
h.XTickLabel = {'Class A','Class B',''};
h.YTickLabelRotation = 90;
h.YTickLabel = {'Class A','Class B',''};

回答 (0 件)

カテゴリ

Help Center および File ExchangeClassification についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by