NiVO / BY TECHNOGISGermany · Indonesia
Inspection

Using F1 to Compare Screening Trade-offs — Independent audit sample

Using F1 to Compare Screening Trade-offs — a worked case for independent audit sample, with explicit data, a sensitivity comparison and an independent evidence check.

Using F1 to Compare Screening Trade-offs — Independent audit sample

The measurement question

Combine precision and recall only after keeping their separate meanings visible. For an illustrative detector with 30 true positives, 10 false positives and 20 false negatives, precision is 0.75, recall 0.60 and F1 approximately 0.667. The harmonic mean penalizes an imbalance between false alarms and missed targets. It is useful for comparing candidate screening settings on the same independent dataset, especially when a single summary is requested. Still retain the underlying counts and consequences: one F1 value does not express how much an omitted condition matters, whether evidence is readable, or whether an asset owner should prioritize follow-up.

This is an educational case with constructed input data. It is not a report of a completed NiVO project, a flight authorization, a product performance guarantee, or evidence that the photographed location was surveyed for this example.

Case conditions and evidence

A reviewer receives only a documented subset of the observations. The subset is selected before looking for favourable results and remains separate from any adjustment or tuning process. The example shows why an auditable selection rule matters as much as the arithmetic reported for it.

Apply the stated selection rule again and check whether it yields the same sample. Include difficult records and exceptions so that the audit is not limited to easy observations.

Surveyors checking measurements with a total station in Kolkata
Surveyors checking measurements with a total station in Kolkata.Source: Indrajit Das · CC BY-SA 4.0

Reproduce the numerical check

Illustrative input data: True positive detections (tp) = 66 count; False positive detections (fp) = 130 count; False negative detections (fn) = 44 count.

Calculation: 2 * tp / (2 * tp + fp + fn).

F1 score for the declared positive class = 0.43137255 fraction.

The calculation below checks one part of the evidence chain. Keep the stated units and assumptions. The output does not replace field observations, the equipment manual, or an independent assessment of the complete deliverable.

Change one assumption

Increase only false positive detections (fp) from 130 to 143 count. Re-evaluating the same equation gives f1 score for the declared positive class = 0.4137931 fraction. The arithmetic difference from the baseline is -0.017579446 fraction.

For the comparison, only the explicitly listed input changes. All other quantities stay fixed. This isolates the mathematical response; weather, image texture, viewing geometry and equipment behaviour can change together in a real mission, so do not interpret the comparison as a flight test.

Interpret the result

Use F1 as a compact comparison after agreeing the target class and dataset. If the owner assigns different consequences to omissions and false alarms, show those costs separately instead of treating the highest F1 as an automatic operating decision.

F1 excludes true negatives and does not express probability calibration, defect severity or operational risk. Different class averaging rules can yield different summaries. Values from unrelated datasets or asset populations are not directly interchangeable.

Separate an arithmetic result from a verified measurement. A precise number can still be based on an uncertain input. Test the assumption with an independent observation before applying the result to an acceptance decision; retain the original value when the independent check disagrees.

Independent checks and delivery

Recalculate F1 from the published confusion counts and show precision and recall beside it. Confirm that threshold selection did not use the supposedly independent test set, and inspect difficult examples rather than accepting the aggregate alone.

Deliver the sample rule, the complete inventory and the audit findings. Identify which conclusions refer to the sample and which require further evidence from the full population.

Deliver the original observations, the calculation inputs, their units, the processing settings and an exception log alongside the interpreted output. A reviewer should be able to repeat the arithmetic and identify which observations support the conclusion. Preserve rejected observations with reasons instead of silently removing them.

Technical references

  1. scikit-learn: f1_score ↗
  2. NiVO technical workflow and supporting documentation ↗
← All articles

Related articles

All articles ↗
LET’S TAKE FLIGHT

Your next mission
starts with a conversation.

Talk to our team