azure.ai.anomalydetector.operations package¶
-
class
azure.ai.anomalydetector.operations.
AnomalyDetectorClientOperationsMixin
[source]¶ -
detect_change_point
(body: ‘models.ChangePointDetectRequest’, **kwargs: Any) → ’models.ChangePointDetectResponse’[source]¶ Detect change point for the entire series.
Evaluate change point score of every series point.
- Parameters
body (ChangePointDetectRequest) – Time series points and granularity is needed. Advanced model parameters can also be set in the request if needed.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
ChangePointDetectResponse, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
detect_entire_series
(body: ‘models.DetectRequest’, **kwargs: Any) → ’models.EntireDetectResponse’[source]¶ Detect anomalies for the entire series in batch.
This operation generates a model using an entire series, each point is detected with the same model. With this method, points before and after a certain point are used to determine whether it is an anomaly. The entire detection can give user an overall status of the time series.
- Parameters
body (DetectRequest) – Time series points and period if needed. Advanced model parameters can also be set in the request.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
EntireDetectResponse, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
detect_last_point
(body: ‘models.DetectRequest’, **kwargs: Any) → ’models.LastDetectResponse’[source]¶ Detect anomaly status of the latest point in time series.
This operation generates a model using points before the latest one. With this method, only historical points are used to determine whether the target point is an anomaly. The latest point detecting operation matches the scenario of real-time monitoring of business metrics.
- Parameters
body (DetectRequest) – Time series points and period if needed. Advanced model parameters can also be set in the request.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
LastDetectResponse, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-