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

34 views (last 30 days)
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

Answers (1)

Mahesh Taparia
Mahesh Taparia on 23 Feb 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 Comments
Mohamed Elbeialy
Mohamed Elbeialy on 2 May 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

Sign in to comment.

Products


Release

R2019a

Community Treasure Hunt

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

Start Hunting!