how to get confusion matrix when neural network toolbox is used?

i have used NN toolbox for classification. after network is trained, "performance plot", "regression plot" and "training state plot" options are displayed. there is no option for displaying confusion matrix. how can i get it?

 採用された回答

Greg Heath
Greg Heath 2015 年 6 月 21 日

2 投票

Feedforwardnet is a generic net that NEVER has to be called directly.
Use fitnet for regression/curvefitting and use patternnet for classification/pattern-recognition. Both call feedforwardnet internally with the appropriate options.
Using patternnet, the plot options are
Performance
Training State
Error Histogram
Confusion
Receiving Operating Characteristic
Hope this helps.
Thank you for formally accepting my answer
Greg

その他の回答 (1 件)

B.k Sumedha
B.k Sumedha 2015 年 6 月 20 日

0 投票

As soon as you train the network you get the option to plot the confusion matrix.Take a look at this pdf.

4 件のコメント

pranjal
pranjal 2015 年 6 月 24 日
thanks for reply. but sir @B.k Sumedha i have used command "nntool" since command nprtool not accepting my target data. so with above command i dont confusion matrix option.pls help
B.k Sumedha
B.k Sumedha 2015 年 6 月 25 日
編集済み: B.k Sumedha 2015 年 6 月 25 日
I think you need to use certain commands like given in below document. Upto my knowledge you cant directly plot the matrix just my using nntool. http://in.mathworks.com/help/nnet/ref/plotconfusion.html
Greg Heath
Greg Heath 2015 年 6 月 25 日
Of course you can
[x,t] = simpleclass_dataset;
net = patternnet;
net = train(net,x,t);
y = net(x);
The nntool automatically pops up with the following option buttons
Performance
Training State
Error Histogram
Confusion
Receiver Operating Characteristic
Just click on the button
Hope this helps.
Thank you for formally accepting my ABOVE answer
Greg
B.k Sumedha
B.k Sumedha 2015 年 6 月 25 日
Yes and its obvious that it must pop-up. But just using the
'nntoool' command window you cant get those buttons which you have specified.

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

カテゴリ

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

質問済み:

2015 年 6 月 20 日

コメント済み:

2015 年 6 月 25 日

Community Treasure Hunt

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

Start Hunting!

Translated by