Skip to content

Metrics Guide

Segmentation

IoU (Jaccard Index)

\text{IoU} = \frac{\text{Intersection}}{\text{Union}}

Dice Coefficient

\text{Dice} = \frac{2 \cdot \text{Intersection}}{\text{Sum of Areas}}

Change Detection

Precision & Recall

\text{Precision} = \frac{TP}{TP + FP}, \quad \text{Recall} = \frac{TP}{TP + FN}

Calibration

ECE (Expected Calibration Error)

\text{ECE} = \sum_{m=1}^M \frac{|B_m|}{N} |\text{acc}(B_m) - \text{conf}(B_m)|