Why perfcurve does not return a consistent result?

1 view (last 30 days)
Zeynab Mousavikhamene
Zeynab Mousavikhamene on 8 Jun 2020
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?

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by