Rare events and alert precision

Rare events and alert precision

TryStart at 0.1% false positives. Predict what happens to daily review workload at 0.01%, with recall held at 90%.

Fixed assumptions: 1,000,000 readings/day − 20 true event readings/day = 999,980 normal readings/day. The assumed 90% recall catches 18 and misses 2.

At 0.1%, expect about 1,018 alerts per day to review.

Caught events per day
18
Expected false alerts per day
≈1,000
Expected review precision
1.8%

Expected daily review workload

18 caught + 999.98 expected false = 1,017.98 expected alerts per day.

Caught events · Expected false alerts

Precision uses the unrounded workload as its denominator.

Both false-positive assumptions

Outcome per day 0.1% false positives 0.01% false positives
Caught events 18 18
Missed events 2 2
False alerts ≈1,000 ≈100
Alerts to review ≈1,018 ≈118
Precision 1.8% 15.3%

Anomaly Detection Demo lets you explore threshold and recall trade-offs.

ObserveThe lower rate leaves 18 caught events in the review queue. Expected false alerts fall from about 1,000 to about 100.
ExplainPrecision divides the same 18 caught events by all expected alerts. The false-positive rate applies to 999,980 normal readings.
Technical boundaries. Each true event contributes one positive reading. Recall stays at 90% to isolate the base rate. The expected counts come before persistence or duplicate suppression. Changing a deployed threshold can also change recall.

Back to the chapter