How do you include 0’s in confusionchart?
Previously posted but not answered: https://www.mathworks.com/matlabcentral/answers/1667539-how-do-i-display-zeros-in-confusion-chart
Is there a way to display 0’s in a confusionchart?
i have searched through MATLAB document for confusionchart to no avail, and a Google search brought me to the first question but no other answers. 🙁
I am attaching the code that I used to get the confusion chart, and any guidance will be appreciated! Otherwise manually adding a 0’s in power point will be my option. Thanks!
path = ‘X:GC_Experiments2MelioDataMelio_Clean_6_predictions.csv’;
data = readtable(path);
group1 = table2array(data(:,2));
group2 = table2array(data(:,3));
D = unique(group1);
labels = [D(1,1),D(2,1),D(3,1),D(4,1),D(5,1),D(6,1),D(7,1),D(8,1),D(9,1)];
C = confusionmat(group1,group2,’Order’,labels);
figure;
confusionchart(C,’OffDiagonalColor’,’b’);Previously posted but not answered: https://www.mathworks.com/matlabcentral/answers/1667539-how-do-i-display-zeros-in-confusion-chart
Is there a way to display 0’s in a confusionchart?
i have searched through MATLAB document for confusionchart to no avail, and a Google search brought me to the first question but no other answers. 🙁
I am attaching the code that I used to get the confusion chart, and any guidance will be appreciated! Otherwise manually adding a 0’s in power point will be my option. Thanks!
path = ‘X:GC_Experiments2MelioDataMelio_Clean_6_predictions.csv’;
data = readtable(path);
group1 = table2array(data(:,2));
group2 = table2array(data(:,3));
D = unique(group1);
labels = [D(1,1),D(2,1),D(3,1),D(4,1),D(5,1),D(6,1),D(7,1),D(8,1),D(9,1)];
C = confusionmat(group1,group2,’Order’,labels);
figure;
confusionchart(C,’OffDiagonalColor’,’b’); Previously posted but not answered: https://www.mathworks.com/matlabcentral/answers/1667539-how-do-i-display-zeros-in-confusion-chart
Is there a way to display 0’s in a confusionchart?
i have searched through MATLAB document for confusionchart to no avail, and a Google search brought me to the first question but no other answers. 🙁
I am attaching the code that I used to get the confusion chart, and any guidance will be appreciated! Otherwise manually adding a 0’s in power point will be my option. Thanks!
path = ‘X:GC_Experiments2MelioDataMelio_Clean_6_predictions.csv’;
data = readtable(path);
group1 = table2array(data(:,2));
group2 = table2array(data(:,3));
D = unique(group1);
labels = [D(1,1),D(2,1),D(3,1),D(4,1),D(5,1),D(6,1),D(7,1),D(8,1),D(9,1)];
C = confusionmat(group1,group2,’Order’,labels);
figure;
confusionchart(C,’OffDiagonalColor’,’b’); confusion matrix, display, plot MATLAB Answers — New Questions