ROC curve for Multicalss classification??

4 次查看(过去 30 天)
Jack
Jack 2016-2-2
回答: Drew 2023-8-24
Hello and good day every body...
i am dealing with multi class problem classification, and for evaluation purposes i need to calculate ROC curve for predicted classes. the ROC code for binary class (two class) is popular and it is available, but not for multiclass.
Can any body please provide a code for calculate and plot the ROC curve for multiclass?
please help as soon as possible..

回答(1 个)

Drew
Drew 2023-8-24
  • "For a multiclass classification problem, you can use the one-versus-all coding design and find a ROC curve for each class. The one-versus-all coding design treats a multiclass classification problem as a set of binary classification problems, and assumes one class as positive and the rest as negative in each binary problem."
  • "average — Compute performance metrics for an average ROC curve for multiclass problems."

类别

Help CenterFile Exchange 中查找有关 Statistics and Machine Learning Toolbox 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by