Error Displaying confusion matrix
Afficher commentaires plus anciens
I am trying to plot a simple confusion matrix using the plotconfusion command
outp = double(YTDKURTPred{idx,1});
targ = double(YTestTD);
plotconfusion(targ,outp)
targ is a series of labels from 1 - 4 (154 X 1)
outp is a series of predictions made by the LSTM network (154 X 1)
when i try and display the results
Is there an error with my code or is it a graphics issue?

Thanks in advance
4 commentaires
Mahesh Taparia
le 23 Mar 2020
Hi
Can you upload targ and outp matrix?
Ahmed Driouech
le 15 Déc 2021
I have the same problem could you help?
CHRISTOPHER MILLAR
le 15 Déc 2021
Ahmed Driouech
le 15 Déc 2021
that doesnt work for me for some reason. What I had before is this:
labels=EMNIST_train(:,1);
targets= dummyvar(labels);
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur MATLAB dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!