Please help me in plotting Roc curve with 5 Sn and 5 Sp values. i have plotted the graph but i am getting only one line out of 5 classes. i want to do a comparison with roc curve.i have TP values and i calculated FP=1-sensitivity.

1 Ansicht (letzte 30 Tage)
  2 Kommentare
Beder
Beder am 23 Feb. 2017
Could you please provide the code?
Did you use "hold on" while printing?
aroosa batool
aroosa batool am 23 Feb. 2017
TP=[45.01;67.01;85.2;67.33;98.9]
TP =
45.0100
67.0100
85.2000
67.3300
98.9000
>> SP=[73.33;68.15;79.0;73.78;100]
SP =
73.3300
68.1500
79.0000
73.7800
100.0000
>> FP=1-SP;
>> plotroc(TP,FP);

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by