Why it matters
Cosine similarity compares direction irrespective of length, which is exactly what a classifier of hazard type needs - and it has a structural weakness: a near-zero vector still has a direction, and that direction is dominated by measurement noise. Without a gate, a quiet room matches something.
