how to get confusion matrix when neural network toolbox is used?
조회 수: 5 (최근 30일)
이전 댓글 표시
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?
댓글 수: 0
채택된 답변
Greg Heath
2015년 6월 21일
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
댓글 수: 0
추가 답변 (1개)
B.k Sumedha
2015년 6월 20일
As soon as you train the network you get the option to plot the confusion matrix.Take a look at this pdf.
댓글 수: 4
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
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.
참고 항목
카테고리
Help Center 및 File Exchange에서 Modeling and Prediction with NARX and Time-Delay Networks에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!