How to calculate ROC values using classperf?

조회 수: 7 (최근 30일)
Asim Shahzad
Asim Shahzad 2021년 5월 31일
답변: Arjun 2025년 2월 28일
Is it possible to get the ROC curve from the results of
classperf(response, validationPredictions);

답변 (1개)

Arjun
Arjun 2025년 2월 28일
I see that you want to get "ROC" values using "classperf" function of MATLAB.
While checking out properties associated with object returned by "classperf" function there was no property which can be directly associated with finding "ROC" values. You can checkout the documentation of "classperf" function and properties associated with the object returned by it in the following links respectively:
However you can use "perfcurve" function of MATLAB to obtain the "ROC" values. Kindly refer to the documentation of "perfcurve" function and one MATLAB Answer's resource attached below to get a better understanding of the usage of the function.
I hope this will help!

카테고리

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

제품


릴리스

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by