MATLAB Answers

ROC curve AlexNet CNN

143 views (last 30 days)
Gledson Melotti
Gledson Melotti on 20 Dec 2017
Commented: Roozbeh Kh on 22 Feb 2021
How to calculate the ROC curve using AlexNet CNN from Matlab? I have two class.

Answers (2)

Salma Hassan
Salma Hassan on 20 Feb 2018
sir did you find the solution i have the same problem
  7 Comments
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
Roozbeh Kh
Roozbeh Kh on 22 Feb 2021
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!

Translated by