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

18 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.

Categories

Find more on Deep Learning Toolbox in Help Center and File Exchange

Products


Release

R2019a

Community Treasure Hunt

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

Start Hunting!