How to calculate ROC values using classperf?
Afficher commentaires plus anciens
Is it possible to get the ROC curve from the results of
classperf(response, validationPredictions);
Réponses (1)
Arjun
le 28 Fév 2025
0 votes
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:
- https://www.mathworks.com/help/releases/R2021a/bioinfo/ref/classperf.html
- https://www.mathworks.com/help/releases/R2021a/bioinfo/ref/biolearning.classperformance-properties.html
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.
- https://www.mathworks.com/help/releases/R2021a/stats/perfcurve.html
- https://www.mathworks.com/matlabcentral/answers/443799-roc-curve-for-multiclass-classifier
I hope this will help!
Catégories
En savoir plus sur ROC - AUC dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!