Cracks Worth Chasing

Model EvaluationMedium+20 XP+20

Cracks Worth Chasing

A pipeline company trains a model to spot cracked welds in X-ray photos. In a test set of 600 photos, 60 welds are truly cracked. Every photo the model flags gets a second look from an inspector, so a false alarm costs a few minutes of their time. A missed crack can mean a leak.

The model outputs a crack probability, and two thresholds are on the table:

ThresholdPhotos flagged as crackedFlagged photos that are truly cracked
0.7 (cautious)3128
0.2 (eager)15955

F1 treats a missed crack and a false alarm as equally bad. The team wants a score that cares more about Recall, so it uses the F-beta score:

Fβ=(1+β2)⋅Precision⋅Recallβ2⋅Precision+RecallF_\beta = \frac{(1 + \beta^2)\cdot \text{Precision} \cdot \text{Recall}}{\beta^2 \cdot \text{Precision} + \text{Recall}}Fβ​=β2⋅Precision+Recall(1+β2)⋅Precision⋅Recall​

With β=1\beta = 1β=1 this is exactly F1. A larger β\betaβ gives Recall more say. The team uses β=2\beta = 2β=2.

Which threshold has the higher F2F_2F2​, and what is that F2F_2F2​? Enter the F2F_2F2​ as a decimal between 0 and 1, rounded to 3 decimal places.

Hints

Solve it to unlock the solution

Once you get it right, the reasoning behind the answer shows up here.