How to creat and plot a confusion matrix of the trained CNN netowork?

37 vues (au cours des 30 derniers jours)
Mohamed Elbeialy
Mohamed Elbeialy le 21 Fév 2021
Commenté : R Ramya le 19 Jan 2022
I have trained a CNN and result showed down but I would need help to find the confusion matrix of the network validation accuracy outcome

Réponses (1)

Mahesh Taparia
Mahesh Taparia le 23 Fév 2021
Hi
To find the confusion matrix, first you have to test the model on testing data and then use plotconfusion function. For more information, you can refer this example. Hope it will help!
  10 commentaires
Mohamed Elbeialy
Mohamed Elbeialy le 2 Mai 2021
How do I get the confusion matrix for all trained data at one set instead of finding a confusion matrix for each set seperatly?
The code is above in a pervious comment
R Ramya
R Ramya le 19 Jan 2022
plotconfusion(YTrain,YPredicted

Connectez-vous pour commenter.

Catégories

En savoir plus sur Image Data Workflows dans Help Center et File Exchange

Produits


Version

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by