필터 지우기
필터 지우기

app roc curve different to perfcurve

조회 수: 2 (최근 30일)
Esmeralda Ruiz Pujadas
Esmeralda Ruiz Pujadas 2021년 12월 17일
댓글: Esmeralda Ruiz Pujadas 2022년 1월 3일
Dear all,
I have a question, I want to overlay two roc curves, but my surprise is that when I use perfcurve the AUC is much higher that the one otained in the app. I think the one of the app (machine learning toolbox makes more sense) according to the accuracy.
How is possible to get a 5% of difference in AUC of the same classifier with the same data between the machine toolbox and the perfcurve.What is the difference between both implementations?
[~,score_svm] = resubPredict(classificationSVM);
[Xsvm,Ysvm,Tsvm,AUCsvm] = perfcurve(trainingData.Eval,score_svm(:,1),1);
Thank you
  댓글 수: 2
Ive J
Ive J 2021년 12월 18일
Classification learner app calculates the AUC using the validation set, not the whole sample (perfcurve). If you set validation to Resubstitution validation in the learner app, the AUC from learner app and perfcurve should be same (this is only for comparison, and in this way your model is not proteceted against overfitting)
Esmeralda Ruiz Pujadas
Esmeralda Ruiz Pujadas 2022년 1월 3일
Thank you, you are right. All clear. Thanks

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 ROC - AUC에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by