Isolation Forest for sensor anomalies: how it works and where it misleads
Read flagged rows in a sensor table by their isolation score, understand what contamination does in the model, and see where the method misleads you.
Track products, batches, lighting and label consistency before counting defect images.
Ten consecutive images of one part are not ten independent production examples. Preserve part, batch, camera and capture-time identifiers. Different views of the same part in both training and test make evaluation easier. Plan separate acceptance checks for a new product variant.
The quality team must define the boundary between an acceptable scratch and a rejectable crack. Create a label guide with borderline and uncertain examples. Investigate labeling disagreements rather than concealing them with majority votes. Record geometry, coating and lighting changes.
Well-lit laboratory images may not represent conveyor speed, vibration or contamination. Hold out shifts and batches. Show missed examples for each defect type. An aggregate score across all defects can hide poor detection of a critical category.
Route uncertain examples to human review. Include capture, transfer, preprocessing and decision time in the latency budget. Compare pilot recommendations with quality records before enabling automatic rejection. A camera or lighting change should trigger revalidation.
Hold out different shifts and batches, and show missed examples for each defect type. Keep part, batch, camera and capture-time identifiers, since ten consecutive images of one part are not ten independent production examples. Plan separate acceptance checks for a new product variant.
Compare pilot recommendations with quality records before enabling automatic rejection. Route uncertain examples to human review. Include capture, transfer, preprocessing and decision time in the latency budget. A camera or lighting change should trigger revalidation.
Pilot steps in this guide are proposed engineering workflows. Examples do not constitute measured field performance.