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
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 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!