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

1 回表示 (過去 30 日間)
HASAN AL-KAF
HASAN AL-KAF 2022 年 1 月 8 日
編集済み: HASAN AL-KAF 2022 年 1 月 8 日
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 Center および File ExchangeSequence 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