ROC curve AlexNet CNN

27 ビュー (過去 30 日間)
Gledson Melotti
Gledson Melotti 2017 年 12 月 20 日
回答済み: Hiren Mewada 2024 年 1 月 25 日
How to calculate the ROC curve using AlexNet CNN from Matlab? I have two class.

回答 (3 件)

Gledson Melotti
Gledson Melotti 2018 年 10 月 4 日
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');
  8 件のコメント
Jhalak Mehta
Jhalak Mehta 2022 年 4 月 12 日
編集済み: Jhalak Mehta 2022 年 4 月 12 日
How do I get the probability?
Hiren Mewada
Hiren Mewada 2024 年 1 月 25 日
classNames = net.Layers(end).Classes;
rocSmallNet = rocmetrics(imdsTest.Labels,score,classNames);
p = plot(rocSmallNet,ShowModelOperatingPoint=false)

サインインしてコメントする。


Salma Hassan
Salma Hassan 2018 年 2 月 20 日
sir did you find the solution i have the same problem
  8 件のコメント
Gledson Melotti
Gledson Melotti 2018 年 10 月 4 日
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');
mustafa kanaan
mustafa kanaan 2022 年 1 月 14 日
Please can you help me in the section, becuase I have error thanks

サインインしてコメントする。


Hiren Mewada
Hiren Mewada 2024 年 1 月 25 日
[predictions,score] = classify(net, imdsTest); % To get prediction score from last layer for each class
classNames = net.Layers(end).Classes;
rocSmallNet = rocmetrics(imdsTest.Labels,score,classNames);
p = plot(rocSmallNet,ShowModelOperatingPoint=false)

カテゴリ

Help Center および File ExchangeDetection についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by