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

조회 수: 42 (최근 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 CenterFile Exchange에서 Image Data Workflows에 대해 자세히 알아보기

제품


릴리스

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by