[Compute AUC of a ROC Function]
Mostrar comentarios más antiguos
Hi all,
I'm working to a classifier in which are presente 3 classes.
Now, I can plot ROC function through this:
figure, plotroc(targets,outputs)
h=gcf;
set(h, prop, valori);
print(h, '-dpdf', '-r300', strcat(folder_name,'\Roc.pdf'));
close all;
I would like to compute the AUC of this picture, Can you help me?
Thanks
Enrico
Respuestas (2)
Ilya
el 21 de Dic. de 2012
0 votos
If you have Statistics Toolbox, the perfcurve function can compute AUC.
You mention that you have 3 classes. I am guessing this means you get 3 ROC curves. You can then compute 3 AUC values, one per curve.
Misha
el 16 de Abr. de 2014
0 votos
I am having the same query of how to compute AUC of ROC curve plotted with plotROC function. If u got the answer can u please help me with the same.
Categorías
Más información sobre ROC - AUC en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!