These notes summarize basic concepts in anomaly detection for time-series data, with a focus on machine learning methods.
Anomalies are observations or temporal patterns that deviate from expected behavior. In time series, anomalies can appear as point anomalies, contextual anomalies, collective anomalies, or distributional drifts.
Evaluation is difficult because anomalies are rare, labels may be incomplete, and the temporal localization of events can be ambiguous. Metrics should therefore be selected carefully depending on the application.