DD_tools: simpleroc

SIMPLEROC Basic receiver-operating characteristic curve

F = SIMPLEROC(NETOUT,TRUELAB)

Compute the ROC curve for the network output NETOUT, given the true labels TRUELAB. TRUELAB should contain 0-1 values, where 0 is the correct output if (netout < some_threshold) and 1 when the (netout > some_threshold). Output F contains [FNr FPr].

This version returns a vector of the same length as NETOUT and TRUELAB. Maybe this will be shortened/subsampled in the future.

See also: dd_roc plotroc Copyright: D.M.J. Tax, D.M.J.Tax@prtools.org Faculty EWI, Delft University of Technology P.O. Box 5031, 2600 GA Delft, The Netherlands