Closed asbjrnmunk closed 3 weeks ago
This PR makes the following minor improvement to how metrics are calculated during training:
For class 1 and 2 respectively:
Aggregate Dice: Calculate $TP = TP_1 + TP_2$ and similar for FP and FN. Then $Dice = 2TP/(FP+FN)$. Mean Dice:: $Dice = (Dice_1 + Dice_2) / 2$.
This PR makes the following minor improvement to how metrics are calculated during training:
For class 1 and 2 respectively:
Aggregate Dice: Calculate $TP = TP_1 + TP_2$ and similar for FP and FN. Then $Dice = 2TP/(FP+FN)$. Mean Dice:: $Dice = (Dice_1 + Dice_2) / 2$.