-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to detect anomaly in data that appears anomalous #5491
Comments
` [Fact]
` |
Here's the output I got. Looks like no anomalies were detected
|
The root cause lies in the SR score function, which is For the first point, ave_mag = mag, then For the second point, ave_mag = (mag_0 + mag_1) / 2, then So both two can not ever become anomaly points. We proposed the solution to use the ave_mag of first full window to replace the avg_mag of first W points, where W is the score window size. |
The output after the fix is attached below. with parameters
|
System information
Issue
What did you do?
Attempted to detect anomalies on time series data
What happened?
No anomalies were detected
What did you expect?
An anomaly on either the 1st or 2nd data point
Source code / logs
no_anomalies_detected_data.zip
Sensitivity=100, SeasonalPeriodForAnomalyDetection=-1 (we set it to 0 when it is < 0), Threshold=0.1
Please paste or attach the code or logs or traces that would be helpful to diagnose the issue you are reporting.
The text was updated successfully, but these errors were encountered: