Documentation Center

  • 評価版
  • 製品アップデート

plotroc

Plot receiver operating characteristic

Syntax

plotroc(targets,outputs)
plotroc(targets1,outputs2,'name1',...)

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

Plot Receiver Operating Characteristic

load simplecluster_dataset
net = patternnet(20);
net = train(net,simpleclusterInputs,simpleclusterTargets);
simpleclusterOutputs = sim(net,simpleclusterInputs);
plotroc(simpleclusterTargets,simpleclusterOutputs);

See Also

Was this topic helpful?