elastic / elastic/ml-cpp

[ML] Anomaly detection fails to identify linear trend

Open
#2,740 1 comment 0 reactions 0 assignees View on GitHub
:ml >bug 8.15.3 v8.16.0 v9.0.0
Dominant language
C++
Stars
157
Forks
67
Avg merge
12h 48m
Merged PRs (30d)
16

Description

In certain cases with low event rate and large bucket span (e.g. `bucket_span: 1d` with a single event in the bucket), the anomaly detection model fails to recognize the linear trend. As an effect, is also forecasts a decreasing trend smoothly regressing to the mean as the prediction horizon increases.
![Image](https://github.com/user-attachments/assets/099e0df5-4497-497e-bd40-228ee7ceb21b)
![Image](https://github.com/user-attachments/assets/9a667239-aeee-45ca-b663-39ac095f8b2c)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.