How can I get a confusion matrix after I train my AI using DeepNetworkDesigner?

4 views (last 30 days)
I have trained an AI using deepnetwork designer app but i dont know how to create the confusion matrix

Accepted Answer

Ganesh Gudipati
Ganesh Gudipati on 12 Apr 2022
Hi,
The confusion matrix can be built using the MATLAB function plotconfusion.
For more information refer plotconfusion.
  6 Comments
Powel Hancy
Powel Hancy on 14 Apr 2022
I am usining the matlab version R2021a as my university is not upgraded to the 2022 version so I will have to use the 2021a.... In 2021a there is only 2 options in export that is 1. Export to work space 2.Generate Live script. The genarated live script is the one I have posted above. Is there any other way to get the Confusion matrix from the Trained networks i have?
Powel Hancy
Powel Hancy on 18 Apr 2022
As I could not solve the issue in DeepNetworkDesigner, I found a temperory solution, that is create the network using DND and export the code before training it, and copy paste the code in Experiment manager app and do the training there.. Experiment manage will produce confusion matrix for you.

Sign in to comment.

More Answers (0)

Products


Release

R2021a

Community Treasure Hunt

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

Start Hunting!