azure.ai.anomalydetector.aio.operations_async package

class azure.ai.anomalydetector.aio.operations_async.AnomalyDetectorClientOperationsMixin[source]
async detect_change_point(body: azure.ai.anomalydetector.models._models_py3.ChangePointDetectRequest, **kwargs) → azure.ai.anomalydetector.models._models_py3.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

ChangePointDetectResponse

Raises

~azure.core.exceptions.HttpResponseError

async detect_entire_series(body: azure.ai.anomalydetector.models._models_py3.DetectRequest, **kwargs) → azure.ai.anomalydetector.models._models_py3.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

EntireDetectResponse

Raises

~azure.core.exceptions.HttpResponseError

async detect_last_point(body: azure.ai.anomalydetector.models._models_py3.DetectRequest, **kwargs) → azure.ai.anomalydetector.models._models_py3.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

LastDetectResponse

Raises

~azure.core.exceptions.HttpResponseError