Skip to content
ml-recall

#pixel-accuracy

2 questions from Segmentation

Timed test

2 questions · 2 min · score and explanations at the end

Take a test
Q 1 / 2Score 0 / 0

Question 1: Short answer

mediumAI-checkedSegmentation

A 4×44 \times 4 binary mask (1 = foreground) is predicted for an image:

ground truth=[0000011001110011],prediction=[0000011101100001]\text{ground truth} = \begin{bmatrix}0&0&0&0\\0&1&1&0\\0&1&1&1\\0&0&1&1\end{bmatrix}, \qquad \text{prediction} = \begin{bmatrix}0&0&0&0\\0&1&1&1\\0&1&1&0\\0&0&0&1\end{bmatrix}

The pixel accuracy is , the IoU of the foreground class is , and the Dice coefficient of the foreground, 2∣X∩Y∣/(∣X∣+∣Y∣)2|X \cap Y|/(|X| + |Y|), is .

Fill in every blank (hints in the boxes). Enter moves to the next blank.