To draw the roc curve using FPR and TPR

1 visualización (últimos 30 días)
Nithya SIvasamy
Nithya SIvasamy el 29 de Ag. de 2016
Respondida: Thorsten el 29 de Ag. de 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

Respuestas (1)

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

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by