Accuracy Alone Can't Run Operations
Take a line that makes 10,000 parts a day with a 2% defect rate. A model that labels every part "good" catches zero defects and still scores 98% accuracy. Accuracy only counts how many calls were right overall, so it tells you nothing about whether the model catches the rare events you actually care about.
Decision-makers get a clearer picture from four numbers, known as the confusion matrix:
Recall answers "what share of real defects did we catch?" Precision answers "what share of alarms were real?" Those are the questions the plant floor is really asking.
False Alarms and Misses Don't Cost the Same
How much each error costs depends on the use case:
Suppose an escaped defect costs ₩500,000 and re-inspecting a false alarm costs ₩5,000. With 10,000 parts and 200 defects a day, here's how three thresholds compare:
The 0.2 threshold has lower accuracy than 0.5, but it costs the least. Picking 0.5 because its accuracy is higher would cost an extra ₩15M every day.
A Practical Procedure for Setting the Threshold
Use Bands Instead of One Cutoff
With a single cutoff, every borderline case gets pushed to one side or the other. Many teams run three bands instead:
This only works if the model is calibrated. When the model outputs 0.6, roughly 60% of such cases should really be defects. Otherwise the bands and the cost math don't hold. An uncalibrated score can rank cases correctly, but its values can't be read as probabilities. Calibrate with Platt scaling or isotonic regression, then check the result with a reliability diagram.
Re-tune Thresholds in Production
If a material change or a process improvement drops the defect rate from 2% to 0.5%, the same threshold will produce a much lower share of real defects among alarms, so precision falls. Set these up in advance:
How POLYGLOTSOFT Approaches It
At POLYGLOTSOFT, we start every model project by agreeing with quality and production teams on the per-case cost of false alarms and misses, and how many alerts the floor can handle. From those numbers we set thresholds and a three-band operating plan, and we build the processes to monitor calibration and log threshold changes. If you have a model with high accuracy that nobody on site uses, contact POLYGLOTSOFT and we'll help redesign it around what errors actually cost.
