how to calculate Area Under ROC curve generated by NNtool?

3 views (last 30 days)
I have used nntool box to generate neural network for fault prediction. Neural network is generated by the tool, also the tool generate ROC curve. I wanted to know how to compute the AUC of this curve.

Answers (1)

Sean de Wolski
Sean de Wolski on 16 Apr 2014
If you look at some of the additional syntax to perfcurve, it will give you AUC if requested:
[X,Y,T,AUC,OPTROCPT,SUBY,SUBYNAMES] = perfcurve(labels,scores,posclass)
  1 Comment
Misha
Misha on 16 Apr 2014
Thanks Sean, As my ROC curve is generated by the nntool, I don't know the values for the input parameters in perfcurve function. I have read the help document but didn't understand it. It will be very helpful if u can elaborate these parameters as my ROC curve is generated using the function -plotroc(targets,outputs)

Sign in to comment.

Categories

Find more on ROC - AUC in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!