NiVO / BY TECHNOGISGermany · Indonesia
Inspection

Using F1 to Compare Screening Trade-offs — Long narrow corridor

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

Using F1 to Compare Screening Trade-offs — Long narrow corridor

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 long narrow work area connects several access points. The same nominal settings can behave differently near bends, end sections and abrupt changes in the surrounding scene. Divide the observations into consecutive segments and give each segment its own evidence identifier before making an overall comparison.

Check both ends and at least one intermediate segment independently. A corridor-wide average can conceal an isolated gap, so report the weakest segment as well as the aggregate.

Participants working with mapping data at a CartONG mapathon in Lyon
Participants working with mapping data at a CartONG mapathon in Lyon.Source: DMontagne en résidence · CC BY 4.0

Reproduce the numerical check

Illustrative input data: True positive detections (tp) = 33 count; False positive detections (fp) = 20 count; False negative detections (fn) = 22 count.

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

F1 score for the declared positive class = 0.61111111 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 20 to 22 count. Re-evaluating the same equation gives f1 score for the declared positive class = 0.6 fraction. The arithmetic difference from the baseline is -0.011111111 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 segment index, access-point notes and the direction of acquisition. Preserve the link between each accepted segment and its original observations.

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