MATLAB Answers

ROC curve AlexNet CNN

98 views (last 30 days)
Gledson Melotti
Gledson Melotti on 20 Dec 2017
Commented: Roozbeh Kh on 22 Feb 2021 at 1:10
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');

  5 Comments

Show 2 older comments
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.
Roozbeh Kh
Roozbeh Kh on 22 Feb 2021 at 1:10
I have 12 classes , how to make it one agaist all 12 ?

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!