Related to Focal Loss Layer: is it suitable for multi-class classification?
조회 수: 2 (최근 30일)
이전 댓글 표시
Does the focal loss layer (in Computer vision toolbox) support multi-class classification (or suited for binary prolems only)?
댓글 수: 0
답변 (1개)
Hrishikesh Borate
2021년 4월 20일
Hi,
The focalLossLayer from the Computer Vision Toolbox does support multi-class classification problems. The classes can be defined during the creation of focalLossLayer using ‘Classes’ property, as shown below.
classes = ["class1", "class2", "class3", "class4"];
layer = focalLossLayer('Classes',classes,'Name','focallosslayer');
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!