ROC curve for Multicalss classification??

3 views (last 30 days)
Jack
Jack on 2 Feb 2016
Answered: Drew on 24 Aug 2023
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..

Answers (1)

Drew
Drew on 24 Aug 2023
  • "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."

Categories

Find more on Statistics and Machine Learning Toolbox in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!