Recall & Review
beginner
What does IoU stand for in segmentation evaluation?
IoU stands for Intersection over Union. It measures how much the predicted segmentation overlaps with the true segmentation compared to their combined area.
Click to reveal answer
beginner
How is the Dice coefficient calculated?
Dice coefficient = 2 × (Area of Overlap) / (Total number of pixels in both predicted and true segments). It ranges from 0 (no overlap) to 1 (perfect overlap).
Click to reveal answer
intermediate
Why do we use both IoU and Dice for segmentation evaluation?
IoU and Dice both measure overlap but emphasize different aspects. Dice is more sensitive to small objects, while IoU is stricter. Using both gives a fuller picture of model performance.
Click to reveal answer
beginner
What does an IoU score of 0.7 mean?
An IoU of 0.7 means the predicted and true segments overlap by 70% of their combined area. This indicates good but not perfect segmentation.
Click to reveal answer
intermediate
Write the formula for IoU using sets A (prediction) and B (ground truth).
IoU = |A ∩ B| / |A ∪ B|, where |A ∩ B| is the number of pixels in both prediction and ground truth, and |A ∪ B| is the number of pixels in either prediction or ground truth.
Click to reveal answer
What does a Dice coefficient of 1 indicate?
✗ Incorrect
A Dice coefficient of 1 means the predicted and true segments perfectly overlap.
Which metric is calculated as the intersection over the union of predicted and true segments?
✗ Incorrect
IoU is defined as the intersection area divided by the union area of prediction and ground truth.
If the predicted segmentation is completely outside the true segmentation, what is the IoU score?
✗ Incorrect
No overlap means intersection is zero, so IoU is zero.
Which metric tends to give higher values for small objects in segmentation?
✗ Incorrect
Dice coefficient is more sensitive and tends to give higher scores for small objects.
What is the range of values for both IoU and Dice coefficient?
✗ Incorrect
Both IoU and Dice range from 0 (no overlap) to 1 (perfect overlap).
Explain in your own words what Intersection over Union (IoU) measures in segmentation tasks.
Think about how much the predicted area and true area share in common compared to their total combined area.
You got /4 concepts.
Describe the difference between Dice coefficient and IoU and why both are useful for evaluating segmentation models.
Consider how each metric treats overlap and size differences.
You got /5 concepts.