plotting CLASSIFICATION confusion matrix

Hello I want to plot the classification confusion matrix, from the output variables as obtaind from the defualt matlab function rather than using the plotconfusion function:
[c,cm,ind,per] = confusion(targets,outputs)
How do I use these four varibales :c,cm,ind,per TO GENERATE A CONFUSION MATRIX?

3 件のコメント

michio
michio 2016 年 9 月 2 日
編集済み: michio 2016 年 9 月 2 日
Though cm is the confusion matrix, I don't know any quick and simple solution to plot it.
Any particular reasons that you do not prefer using plotconfusion function? confusion function itself is from Neural Network Toolbox so using plotconfusion seems to be a good option if you are to use confusion function.
Newman
Newman 2016 年 9 月 2 日
Actually I have calculated a lot of outputs for different neural network considering random partitions and save the targets and results using the confusion function.So i ave to repeat the code in its entirety to plot confusion for each and every case.It will take lot of time.So, that's why.
Greg Heath
Greg Heath 2016 年 9 月 7 日
help confusion
doc confusion
help plotconfusion
doc plotconfusion
and the references therein.
Hope this helps
Greg

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

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeDeep Learning Toolbox についてさらに検索

質問済み:

2016 年 9 月 2 日

コメント済み:

2016 年 9 月 7 日

Community Treasure Hunt

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

Start Hunting!

Translated by