MATLAB Answers

Can I plot testing class label vs. predict class label

7 views (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

  0 Comments

Sign in to comment.

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)

Community Treasure Hunt

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

Start Hunting!