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

 Risposta accettata

KSSV
KSSV il 2 Lug 2019
Modificato: KSSV il 2 Lug 2019
Read about gscatter.
Mostly such representations are shown using confusion matrix.

Categorie

Scopri di più su Statistics and Machine Learning Toolbox in Centro assistenza e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by