Clear Filters
Clear Filters

To draw the roc curve using FPR and TPR

2 views (last 30 days)
Nithya SIvasamy
Nithya SIvasamy on 29 Aug 2016
Answered: Thorsten on 29 Aug 2016
The false positive rate and true positive rate are in the range between 0 and 1 .But when i use plotroc() i am getting a graph in straight line manner.
Can anyone help me to draw the roc curve

Answers (1)

Thorsten
Thorsten on 29 Aug 2016
plot(fpr, tpr)
It's possible to get a straight line, e.g., if the operator has zero discrimination.

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!