Clear Filters
Clear Filters

How to plot roc curve for multi class?

6 views (last 30 days)
tejasvee
tejasvee on 30 Jun 2017
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.

Answers (1)

Jagadeeswararao Annam
Jagadeeswararao Annam on 2 Dec 2017
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.

Categories

Find more on ROC - AUC in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!