DiceCoefficient¶
-
ignite.metrics.
DiceCoefficient
(cm, ignore_index=None)[source]¶ Calculates Dice Coefficient for a given
ConfusionMatrix
metric.- Parameters
cm (ignite.metrics.confusion_matrix.ConfusionMatrix) – instance of confusion matrix metric
ignore_index (Optional[int]) – index to ignore, e.g. background index
- Return type