Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AnomalyDetectorClient

Package version

Client class for interacting with Azure Anomaly Detector service.

Hierarchy

  • AnomalyDetectorClient

Index

Constructors

constructor

  • Creates an instance of AnomalyDetectorClient.

    Example usage:

    import { AnomalyDetectorClient, AzureKeyCredential } from "@azure/ai-anomaly-detector";
    
    const client = new AnomalyDetectorClient(
       "<service endpoint>",
       new AzureKeyCredential("<api key>")
    );

    Parameters

    • endpointUrl: string
    • credential: TokenCredential | KeyCredential

      Used to authenticate requests to the service.

    • Optional options: AnomalyDetectorClientOptions

    Returns AnomalyDetectorClient

Methods

detectChangePoint

  • detectChangePoint(body: DetectChangePointRequest, options?: OperationOptions): Promise<AnomalyDetectorClientDetectChangePointResponse>
  • Evaluate change point score of every series point

    Parameters

    • body: DetectChangePointRequest

      Time series points and granularity is needed. Advanced model parameters can also be set in the request if needed.

    • Optional options: OperationOptions

      The options parameters.

    Returns Promise<AnomalyDetectorClientDetectChangePointResponse>

detectEntireSeries

  • detectEntireSeries(body: DetectRequest, options?: OperationOptions): Promise<AnomalyDetectorClientDetectEntireResponse>
  • 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.

    • Optional options: OperationOptions

      The options parameters.

    Returns Promise<AnomalyDetectorClientDetectEntireResponse>

detectLastPoint

  • detectLastPoint(body: DetectRequest, options?: OperationOptions): Promise<AnomalyDetectorClientDetectLastPointResponse>
  • 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.

    • Optional options: OperationOptions

      The options parameters.

    Returns Promise<AnomalyDetectorClientDetectLastPointResponse>

Generated using TypeDoc