Can i form a variable of my confusion matrix from my Matlab classification learner into my matlab workspace on MATLAB 2023a that can be used for further data analysis?

1 回表示 (過去 30 日間)
Urwah
Urwah 2023 年 10 月 25 日
回答済み: Drew 2024 年 4 月 12 日
Can i form a variable of my confusion matrix from my Matlab classification learner into my matlab workspace on MATLAB 2023a that can be used for further data analysis? I want to extract more performance metrics using the confusion matrix

回答 (2 件)

Umang Pandey
Umang Pandey 2023 年 10 月 31 日
Hi Mohammad,
As per my understanding, it appears that you want to obtain the confusion matrix as a matrix variable within your MATLAB workspace.
This can be accomplished using the "confusionmat" function, that takes in known and predicted groups as input and returns the confusion matrix.
Please refer to the following documentation for more information:
Best,
Umang

Drew
Drew 2024 年 4 月 12 日
This answer shows how to get the confusion matrix as a variable in the MATLAB workspace in 23a, and how to regenerate the confusionchart: https://www.mathworks.com/matlabcentral/answers/2106201-change-class-labels-of-a-confusion-matrix-that-has-been-exported-from-classification-learner

カテゴリ

Help Center および File ExchangeClassification Learner App についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by