Can I plot testing class label vs. predict class label

if I have a testing class label.
testing_class=[1 1 1 1 1 2 2 2 2 2 2];
And I have predicted class.
predict class=[1 2 2 1 1 2 2 1 2 2 1];
Can I plot to scatter/area/line of a predicted class that is correct or wrong when compared to testing_class?
(I want to display graphic images along with numerical experiment results)
Thank you so much

 采纳的回答

类别

在 帮助中心 和 File 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