Understanding output of perfcurve

2 vues (au cours des 30 derniers jours)
Nirmal
Nirmal le 26 Oct 2012
[X,Y,T,AUC2,OPTROCPT] = perfcurve(classtest,classpredict,2);
My classtest as well as classpredict are 460*1, but when i run perfcurve i get x 3*1 and so it y.
I do not understand why is it so. As X,Y are used to draw ROC, I think it should give both of them as 460*1. I must be missing something.
Thank you for your time.

Réponse acceptée

Tom Lane
Tom Lane le 27 Oct 2012
Could it be that you have relatively few distinct values of classpredict?
  1 commentaire
Nirmal
Nirmal le 27 Oct 2012
Thank you! i really didnt think it through.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur ROC - AUC dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by