필터 지우기
필터 지우기

ROC of multiclass classification in MATLAB

조회 수: 3 (최근 30일)
Chenhui
Chenhui 2015년 6월 11일
댓글: Ismat Mohd Sulaiman 2021년 8월 9일
Hi, guys,
I just used the AdaBoost.M2 in a dataset with four-class response variable. I want to produce the ROC curve. The documentation uses the 'plotroc(targets, outputs)' to do it. My question is about the argument of 'outputs'. The documentation says "S-by-Q matrix, where each column contains values in the range [0,1]. The index of the largest element in the column indicates which of S categories that vector presents. ". How to determine the 'outputs' with the results of AdaBoost.M2?
Another question about the '[X,Y] = perfcurve(labels,scores,posclass) '. What is the 'scores' for a AdaBoos.M2 model?
  댓글 수: 1
mehbob ali
mehbob ali 2017년 12월 28일
i want to know how you implemented Adaboost.M2

댓글을 달려면 로그인하십시오.

답변 (1개)

Alka Nair
Alka Nair 2015년 6월 17일
Hi, The PERFCURVE function can be used to plot the ROC for AdaBoostM2. Please see the documentation of function PREDICT, to understand what score referes to for ensemble:
It is mentioned that, for ensembles, a classification score represents the confidence of a classification into a class. The higher the score, the higher the confidence.
The documentation of PERFCURVE mentions that perfcurve can be used with any classifier or, more broadly, with any method that returns a numeric score for an instance of input data. Please refer to the following page for more information:
  댓글 수: 3
Apoorva Srivastava
Apoorva Srivastava 2019년 8월 19일
The column that corresponds to the score for the normal class
Ismat Mohd Sulaiman
Ismat Mohd Sulaiman 2021년 8월 9일
For multiclass, e.g. 3 classes, which one to choose?

댓글을 달려면 로그인하십시오.

카테고리

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