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.

조회 수: 2 (최근 30일)
  댓글 수: 2
Beder
Beder 2017년 2월 23일
Could you please provide the code?
Did you use "hold on" while printing?
aroosa batool
aroosa batool 2017년 2월 23일
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);

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

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