plotconfusion
Purpose
Plot classification confusion matrix
Syntax
plotconfusion(targets,outputs)
plotconfusion(targets1,outputs1,'name1',targets,outputs2,'name2',
...)
Description
plotconfusion(targets,outputs) displays the classification confusion grid.
plotconfusion(targets1,outputs1,'name1',...) plots a series of plots.
Examples
load simpleclass_dataset
net = newpr(simpleclassInputs,simpleclassTargets,20);
net = train(net,simpleclassInputs,simpleclassTargets);
simpleclassOutputs = sim(net,simpleclassInputs);
plotconfusion(simpleclassTargets,simpleclassOutputs);
| | Provide feedback about this page |
 | plotbr | | plotep |  |
Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
Get the Interactive Kit