How to plot roc curve for multi class?

I have 3 classes and i want to plot roc curve for my classifier. But by using plotroc it is plotting only for binary class. I can't understand how to plot for multi class.

답변 (1개)

Jagadeeswararao Annam
Jagadeeswararao Annam 2017년 12월 2일

0 개 추천

ROC curve is done for binary classification. For Multi-class you have to create 3 one-vs-rest binary classifications on data taking positive samples as 1 and negative samples as -1.

카테고리

도움말 센터File Exchange에서 ROC - AUC에 대해 자세히 알아보기

질문:

2017년 6월 30일

답변:

2017년 12월 2일

Community Treasure Hunt

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

Start Hunting!

Translated by