Clear Filters
Clear Filters

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 view (last 30 days)
  2 Comments
aroosa batool
aroosa batool on 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);

Sign in to comment.

Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!