To draw the roc curve using FPR and TPR

2 次查看(过去 30 天)
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

回答(1 个)

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

标签

Community Treasure Hunt

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

Start Hunting!

Translated by