Multivariate Anomaly Detection - Testing and Best Practices
Explore how to implement and test multivariate anomaly detection using Azure Decision Cognitive Services. Understand model training, asynchronous detection processes, deleting models, and best practices for preparing and handling time-series data effectively.
To recap, in the previous lesson, we prepared and uploaded the dataset to Azure blob storage and generated the SAS URL. Then, we submitted a request for model training to detect the multi-variate anomalies in the dataset. After that, we have checked the status of the model.
Detecting anomalies using the trained model
Once the model is trained successfully, it’s ready to detect the anomalies in the dataset.
Explanation:
-
Lines 1–3, are from the earlier code. You will need to paste the blob SAS URL in line 1.
-
In line 5, we create the object
DetectionRequestclass and pass the data source URL and the time-frames within which we want our model to detect the anomalies. -
From lines 7–10, we ...