How do I change the class label of the confusion matrix?
62 views (last 30 days)
Hi suppose I used the code below and the class label of the confusion matrix is 1,2,3. How to I change the class label to 'apple' , 'watermelon' and 'pear'?
cm = confusionchart([1 3 5; 2 4 6; 11 7 3]);
cm.Title = 'My Confusion Matrix Title';