How to plot only few classes for confusion matrix?

조회 수: 3 (최근 30일)
Niculai Traian
Niculai Traian 2019년 3월 25일
답변: Greg Heath 2019년 3월 25일
Hello, i have a neural network with 102 classes and i want to plot the confusion matrix for few classes (for example 10). i used the command below to plot the normal confusion matrix but having 102 classes make the confusion matrix unreadable. How can i plot only a number of classes instead of all? Thanks
plotconfusion(YTrain,YPredicted)

답변 (1개)

Greg Heath
Greg Heath 2019년 3월 25일
Oviously, you have to subsample the original matrices.
Greg

카테고리

Help CenterFile Exchange에서 Image Data Workflows에 대해 자세히 알아보기

제품


릴리스

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by