ChangeThresholdCondition Constructor

Definition

Initializes a new instance of the ChangeThresholdCondition class.

public ChangeThresholdCondition (double changePercentage, int shiftPoint, bool withinRange, Azure.AI.MetricsAdvisor.Models.AnomalyDetectorDirection anomalyDetectorDirection, Azure.AI.MetricsAdvisor.Models.SuppressCondition suppressCondition);
new Azure.AI.MetricsAdvisor.Models.ChangeThresholdCondition : double * int * bool * Azure.AI.MetricsAdvisor.Models.AnomalyDetectorDirection * Azure.AI.MetricsAdvisor.Models.SuppressCondition -> Azure.AI.MetricsAdvisor.Models.ChangeThresholdCondition
Public Sub New (changePercentage As Double, shiftPoint As Integer, withinRange As Boolean, anomalyDetectorDirection As AnomalyDetectorDirection, suppressCondition As SuppressCondition)

Parameters

changePercentage
Double

The percentage of change, compared to the previous point, that delimits the boundary for detecting anomalous points.

shiftPoint
Int32

When set to N, sets as reference the data point that's N positions before the current point. Value must be at least 1.

withinRange
Boolean

If true, points inside the changePercentage boundary are considered anomalous (ideal for detecting flat lines and stable values). If false, only points outside of the boundary can be considered anomalies (ideal for detecting fluctuations).

anomalyDetectorDirection
AnomalyDetectorDirection

Sets the boundaries that delimit the expected value range. When withinRange is true, can only be set to Both. Otherwise, can only be set to Up or Down.

suppressCondition
SuppressCondition

The SuppressCondition to be applied to every anomalous data point.

Exceptions

suppressCondition is null.

Applies to