ROC curve for Multicalss classification??

2 ビュー (過去 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 Center および File ExchangeStatistics 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