QMRITools`
QMRITools`
FocalLossLayer
represents a net layer that computes the Focal loss by comparing input class probability vectors with the target class vector.
does the same but uses g as the tunable focusing parameter gamma which needs to be larger than one.
FocalLossLayer[g,a]
does the same but uses as the balancing factor alpha.