Binary Classification

A task in which each example must be assigned to one of two classes.

What changes when the review threshold moves?

A fictional parcel-inspection model gives a package a damage score of 0.62 on a zero-to-one scale. The policy flags packages at or above a chosen threshold. Staff later inspect the package to establish its actual condition.

Review thresholdScoreDecision
0.500.62Flag for review
0.700.62Do not flag

Which part of the system changed?

The model output is identical in both rows. Moving the threshold changes the action. It also changes the balance of missed damage and unnecessary inspections across the whole parcel queue. One parcel cannot tell you how many of either error will occur.

A parcel enters a two-lane sorting station.
A continuous damage score becomes a two-way action only after a threshold is applied.

How would you choose between thresholds?

Evaluate both on labeled parcels representative of future deliveries. Count missed damaged parcels and extra reviews, then consider inspection capacity and the consequences of each mistake. A score of 0.62 need not mean a measured 62% chance of damage.

Follow the idea

Classification · Place the two-class decision among other classification tasks.

Precision · Check what fraction of flagged cases are confirmed.

Source · Google on classification thresholds

Return to Binary Classification in the A–Z glossary