To draw the roc curve using FPR and TPR

3 次查看(过去 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.

类别

Help CenterFile Exchange 中查找有关 ROC - AUC 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by