Understanding output of perfcurve

[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.

 채택된 답변

Tom Lane
Tom Lane 2012년 10월 27일

0 개 추천

Could it be that you have relatively few distinct values of classpredict?

댓글 수: 1

Nirmal
Nirmal 2012년 10월 27일
Thank you! i really didnt think it through.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

질문:

2012년 10월 26일

Community Treasure Hunt

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

Start Hunting!

Translated by