Skip to content

Issue with timeseries analysis in the case of score > score_threshold & seasonal == 0 #615

@pensivepaddle

Description

@pensivepaddle

https://github.com/microsoft/msticpy/blob/main/msticpy/analysis/timeseries.py#L293-L299

Missing logic for time series anomaly detection for the case of
(result["score"] > score_threshold) & (result["seasonal"] == 0)

whereas >0 and <0 are covered.

It leads to an error in the later typecasting to int64.

Not sure if change from lt/gt to le/ge, or a different approach is most appropriate.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions