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

32 ビュー (過去 30 日間)
Mohamed Elbeialy
Mohamed Elbeialy 2021 年 2 月 21 日
コメント済み: R Ramya 2022 年 1 月 19 日
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

回答 (1 件)

Mahesh Taparia
Mahesh Taparia 2021 年 2 月 23 日
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 件のコメント
Mohamed Elbeialy
Mohamed Elbeialy 2021 年 5 月 2 日
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 2022 年 1 月 19 日
plotconfusion(YTrain,YPredicted

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeImage Data Workflows についてさらに検索

製品


リリース

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by