plotroc
Purpose
Plot receiver operating characteristic
Syntax
plotroc(targets,outputs)
plotroc(targets1,outputs1,'name1',targets,outputs2,'name2', ...)
Description
plotroc(targets,outputs) plots the receiver operating characteristic for each output class. The more each curve hugs the left and top edges of the plot, the better the classification.
plotroc(targets1,outputs2,'name1',...) generates multiple plots.
Examples
load simplecluster_dataset
net = newpr(simpleclusterInputs,simpleclusterTargets,20);
net = train(net,simpleclusterInputs,simpleclusterTargets);
simpleclusterOutputs = sim(net,simpleclusterInputs);
plotroc(simpleclusterTargets,simpleclusterOutputs);

See Also
roc
| | Provide feedback about this page |
 | plotregression | | plotsom |  |
Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
Get the Interactive Kit