How to get a ROC curve by using the sensitivity and specificity obtained?

I am using the TPR and FRP obtained to plot the graph. Why I get an empty graph for the ROC graph? Please help.

4 Comments

I hate to ask the obvious, but did you check the values of confMat, TPR, and FPR? What did you learn? Tell us so we can tell you why you're not seeing a curve. Or better yet, attach your .mat file and .m file.
Yes, I have checked the values of confMat, TPR and FPR, but i still can't get the plot.
It's Having only one TPR and FPR, how you expect a graph?
If I want to use perfcurve, am I able to get a graph?

Sign in to comment.

Answers (1)

Categories

Tags

Asked:

on 29 Sep 2018

Answered:

on 30 Sep 2018

Community Treasure Hunt

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

Start Hunting!