Azure-Samples / AnomalyDetector

Samples for the Anomaly Detection API documentation:
https://docs.microsoft.com/en-us/azure/cognitive-services/anomaly-detector/
MIT License
98 stars 167 forks source link

How to pull out contributors attribute from AnomalyState object #50

Closed jenghub-msft closed 1 year ago

jenghub-msft commented 1 year ago

The detect() method in helper script sample_multivariate_detect.py returns a list of AnomalyState objects. I am able to access the timestamp, severity, score, etc. for each timestamp but am unclear on how to grab the contributors list (variables and contribution score) per time stamp. Did not see any documentation for this. Thanks!

Edit: I just saw #47 which suggests it's the interpretation attribute.