FocalLossLayer

FocalLossLayer[]

represents a net layer that computes the Focal loss by comparing input class probability vectors with the target class vector.

FocalLossLayer[g]

does the same but uses g as the tunable focusing parameter gamma which needs to be larger than one.

QMRITOOLS SYMBOL
QMRITools`
QMRITools`

FocalLossLayer

FocalLossLayer[]

represents a net layer that computes the Focal loss by comparing input class probability vectors with the target class vector.

FocalLossLayer[g]

does the same but uses g as the tunable focusing parameter gamma which needs to be larger than one.