MATLAB Answers

ROC curve AlexNet CNN

104 views (last 30 days)
Gledson Melotti
Gledson Melotti on 20 Dec 2017
Commented: 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.

Answers (2)

Salma Hassan
Salma Hassan on 20 Feb 2018
sir did you find the solution i have the same problem

  7 Comments

Show 4 older comments
Gledson Melotti
Gledson Melotti on 29 Jul 2018
The second figure is True.
Win Sheng Liew
Win Sheng Liew on 2 Oct 2018
Sir, may i have your code plss.
Gledson Melotti
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');

Sign in to comment.


Gledson Melotti
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
Gledson Melotti
Gledson Melotti on 12 Dec 2018
testeImagesLabels are my labels ground true, that is, true classes. Test_predict is my result after prediction.
Aneeba NAJEEB
Aneeba NAJEEB on 22 Apr 2019
How to plot when we have 6 classes?
Gledson Melotti
Gledson Melotti on 22 Apr 2019
Hi, You make one against all.

Sign in to comment.


Translated by