Can I plot testing class label vs. predict class label

1 view (last 30 days)
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

Accepted Answer

KSSV
KSSV on 2 Jul 2019
Edited: KSSV on 2 Jul 2019
Read about gscatter.
Mostly such representations are shown using confusion matrix.

More Answers (1)

mahamadyashin shaikh
mahamadyashin shaikh on 16 Jul 2020
please explain
test.Labels

Community Treasure Hunt

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

Start Hunting!