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

 Réponse acceptée

KSSV
KSSV le 2 Juil 2019
Modifié(e) : KSSV le 2 Juil 2019

0 votes

Read about gscatter.
Mostly such representations are shown using confusion matrix.

Catégories

Community Treasure Hunt

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

Start Hunting!

Translated by