QMRITools`
QMRITools`

TverskyLossLayer

TverskyLossLayer[]

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

TverskyLossLayer[b]

does the same but b defines the tversky beta factor. With beta = 0.5 its is the Dice coefficient. Here alpha + beta = 1.

Examples