Anomaly detection identifies unusual or abnormal patterns in data that deviate from expected behavior.
Example:
A retail store normally sells 100–120 units per day, but suddenly sales drop to 40 units.
→ The system flags this as an anomaly.
Analysis Process:
Collect historical sales data.
Calculate normal range or pattern.
Compare new data with expected values.
If deviation exceeds threshold → flag anomaly.
Generate alert or insight.