The output size of the last layer (18) doesn’t match the number of classes (38) in patternet

조회 수: 1 (최근 30일)
Hi
I used patternnet toolbox for classification problem However, The output size of the last layer is 18 which doesn’t match the number of classes which is 38 classes.
what should i change?
This is my code
hiddenLayerSize =2;
net = patternnet(hiddenLayerSize, trainFcn);
Thank you

답변 (0개)

카테고리

Help CenterFile Exchange에서 Sequence and Numeric Feature Data Workflows에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by