Help using perfcurve function!!
显示 更早的评论
Hey everyone,
I have three groups of people normal ones, one with disease in its early stages and last one people with disease in its severe stages. And in each group I study 16 different features. In order to check the discriminatory performance of several features, I need to use area under the receiver operating characteristic curve. I don't know how can i translate my data to input arguments for the perfcurve function!! [X,Y,T,AUC,OPTROCPT,SUBY,SUBYNAMES] = perfcurve(labels,scores,posclass);
Any help will be appreciated.
采纳的回答
更多回答(1 个)
Ilya
2012-8-14
0 个投票
This is a rather vague question. You might get more replies if you explain what approaches you are thinking about and what you have tried so far.
The three groups of people define the labels. You must choose one of these groups as your positive class. Scores typically represent model predictions. You could train a classifier, for instance, to separate the 3 classes and use its predictions.
A ROC curve is used for two classes (groups). I don't know what you mean when you say you need AUC for 3 groups.
类别
在 帮助中心 和 File Exchange 中查找有关 Discriminant Analysis 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!