I am using Euclidean distance for speaker recognition. I want to plot the ROC curve using perfcurve in MATLAB. Since the scores are the resulting euclidean distances, am I doing right? Thanks
Labels=[1 1 1 1 1 1 1 0 0 1];
scores=[18.5573 15.3364 16.8427 19.6381 16.4195 17.3226 18.9520 21.6811 21.4013 22.3880];
[x,y]=perfcurve(Labels,scores,1);
plot(x,y);
xlabel('False positive rate'); ylabel( 'True positive rate')