when I run the perfcurve function like this:
[X,Y,T,AUC] = perfcurve(labels,scores,posclass)
some times the length of X, Y and T =length(labels)+1 and some times they are equal.
Why this happnes? I expect the lengths to be equal.
I need to make the output X, Y and T to be consistant (either equal or +1). Any idea how to do that?