0.05 comes from dividing the 5 true positives by all 100 images (5÷100). It uses the whole set as the denominator instead of the 10 images the inspector judged defective, so it does not match the definition of recall.
×Incorrectイ
0.25 is precision. It is the proportion of truly defective items (5) among the 5+15=20 images the model judged defective (5÷20), so the denominator is the wrong way around. This confuses recall with precision.
○ウ
正解Recall is defined as “the proportion, among the product images that the quality-control inspector judged defective, of those that the model also judged defective.” The inspector judged 5+5=10 images as defective (the top row of the table). Of those, the model also judged 5 as defective (the top-left cell, the true positives). Therefore recall = 5÷10 = 0.50, so “ウ” is correct. Recall measures how well the items that are actually defective are detected without being missed.
×Incorrectエ
0.80 is accuracy. It comes from dividing the correctly classified 5 (defective) +75 (good) =80 images by all 100 images (80÷100), which is a different metric from recall.
ここがポイント
Recall = true positives ÷ (true positives + false negatives). Here the denominator is the 10 images the inspector judged defective, and the numerator is the 5 the model also judged defective.
Do not confuse it with precision (whose denominator is the number the model judged defective) or accuracy (the overall correct ratio). The key is to tell each metric apart when reading the confusion matrix.