Multilabel Image Classification Using Deep Learning--Imbalanced Data
이전 댓글 표시
When I use imbalanced multilabel data to study the example ''openExample('nnet/MultilabelImageClassificationUsingDeepLearningExample') '' ,I found that the loss funtion(CustomBinaryCrossEntropyLossLayer.m, crossentropy) could not be weightd. So I want to use classificationlayer to replace, but classificationlayer could not used in multilabel data.
The crossentropy fuction in supporting file doesn't have Multi-label classificaion with weighted classes.The label is onehotlabel and we use sigmoid instead of softmax.So ,how can I create the outputlayer to achieve Multi-label classificaion with weighted classes?

댓글 수: 3
AJ Ibraheem
2022년 9월 1일
Have you tried modifying the custom layer to receive class weights and using that in the cross-entropy calculation?
XT
2022년 9월 2일
Tarily
2023년 6월 13일
Did you solve this problem? I have the same issue now and I hope to get your help.😭
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!