Is the data for the confusion matrix available (besides just the number inside of the picture)?
I'm running many models and I would to programmatically extract the data so I don't have to record it by hand.
Thank you,
Steve

 Akzeptierte Antwort

Stephan
Stephan am 17 Sep. 2019
Bearbeitet: Stephan am 17 Sep. 2019

0 Stimmen

doc confusionmat
confusionmat gives you a matrix, containing all the informations needed - it can be used also as the NormalizedValues property of the confusionchart object:
cm = confusionchart(Y,predictedY);
Matrix = cm.NormalizedValues

Weitere Antworten (0)

Kategorien

Mehr zu Statistics and Machine Learning Toolbox finden Sie in Hilfe-Center und File Exchange

Produkte

Version

R2018b

Gefragt:

am 16 Sep. 2019

Bearbeitet:

am 17 Sep. 2019

Community Treasure Hunt

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

Start Hunting!

Translated by