function [X,Y,T,auc,optrocpt,subY,subYnames] = ... perfcurve(labels,scores,posClass,varargin) %PERFCURVE Compute Receiver Operating Characteristic (ROC) curve or other % performance curve for classifier output. % % [X,Y] = PERFCURVE(LABELS,SCORES,POS