MATLAB Answers

1

ROC curve AlexNet CNN

Asked by Gledson Melotti on 20 Dec 2017
Latest activity Commented on by Gledson Melotti on 22 Apr 2019
How to calculate the ROC curve using AlexNet CNN from Matlab? I have two class.

  0 Comments

Sign in to comment.

2 Answers

Answer by As Has on 20 Feb 2018

sir did you find the solution i have the same problem

  7 Comments

The second figure is True.
Sir, may i have your code plss.
cgt = double(testeImagesLabels); clabel = double(Test_predict); cscores = double(Probability);
figure(2) [X,Y,T,AUC,OPTROCPT,SUBY,SUBYNAMES] = perfcurve(cgt,cscores(:,1),1); plot(X,Y,'k');

Sign in to comment.


Answer by Gledson Melotti on 4 Oct 2018

cgt = double(testeImagesLabels); clabel = double(Test_predict); cscores = double(Probability);
figure(2) [X,Y,T,AUC,OPTROCPT,SUBY,SUBYNAMES] = perfcurve(cgt,cscores(:,1),1); plot(X,Y,'k');

  4 Comments

Show 1 older comment
testeImagesLabels are my labels ground true, that is, true classes. Test_predict is my result after prediction.
Aneeba NAJEEB on 22 Apr 2019
How to plot when we have 6 classes?
Hi, You make one against all.

Sign in to comment.