how to get confusion matrix when neural network toolbox is used?
14 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponse acceptée
Greg Heath
le 21 Juin 2015
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 commentaires
Plus de réponses (1)
B.k Sumedha
le 20 Juin 2015
As soon as you train the network you get the option to plot the confusion matrix.Take a look at this pdf.
4 commentaires
Greg Heath
le 25 Juin 2015
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
le 25 Juin 2015
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.
Voir également
Catégories
En savoir plus sur Modeling and Prediction with NARX and Time-Delay Networks dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!