Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

weird shape of ROC for my data

조회 수: 1 (최근 30일)
zahra zol
zahra zol 2016년 12월 8일
마감: MATLAB Answer Bot 2021년 8월 20일
this is the code that results in generating ROC for my data. i have attached my roundMeas matrix. the problem is that my ROCs look really strange. they are not actually like curves. and i don't know what is wrong. i also don't know anything about setting thresholds for plotting ROC. can any body help?
TPRvect=zeros(27,300); FPRvect=zeros(27,300); u=13; for e=1:6 for i=1:27 for j=1:300 xx=roundMeas(j,3,e); TPRvect(i,j)=xx{1,1}(i); yy=roundMeas(j,6,e); FPRvect(i,j)=yy{1,1}(i); end end for i=1:27 qq=TPRvect(i,:); ww=FPRvect(i,:); figure (u) plot(ww,qq) xlabel('FPR') ylabel('TPR') str=sprintf('ROC of class %d for clustering%d', i, e); title(str) h=figure(u); saveas(h,sprintf('FIG%d.jpeg',u)) u=u+1; end e=e+1; end

답변 (0개)

이 질문은 마감되었습니다.

태그

Community Treasure Hunt

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

Start Hunting!

Translated by