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 visualización (últimos 30 días)
  2 comentarios
Beder
Beder el 23 de Feb. de 2017
Could you please provide the code?
Did you use "hold on" while printing?
aroosa batool
aroosa batool el 23 de Feb. de 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);

Iniciar sesión para comentar.

Respuestas (0)

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by