How does the Classification Learner app calculate multi-class accuracy?

조회 수: 8 (최근 30일)
aikaterini vraka
aikaterini vraka 2023년 3월 23일
답변: Drew 2023년 4월 3일
Hello,
I am using the classification learner app of Matlab R2022a in order to solve a 3-group classification problem.
After extracting the generated code and running it on Matlab, I get a confusion matrix from which I calculate indices such as accuracy, sensitivity etc. Since in a x-class problem you have x different true classes (each one at a time), I understand that you also have x measurements of accuracy, sensitivity etc. Nevertheless, the Classification Learner app shows a single classification accuracy. My question is: how does it calculate the universal accuracy? Is it from averaging the x accuracy measurements?

답변 (1개)

Drew
Drew 2023년 4월 3일
The doc page "Visualize and Assess Classifier Performance in Classification Learner" should answer all of your questions about classifer accuracy calculations in the Classification Learner app. On that page, in the "Model Metrics" section, the accuracy for a classification problem is defined as the "Percentage of observations that are correctly classified."

카테고리

Help CenterFile Exchange에서 Classification Learner App에 대해 자세히 알아보기

제품


릴리스

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by