Share via


EntireDetectResponse Constructors

Definition

Overloads

EntireDetectResponse()

Initializes a new instance of the EntireDetectResponse class.

EntireDetectResponse(Int32, IList<Double>, IList<Double>, IList<Double>, IList<Boolean>, IList<Boolean>, IList<Boolean>)

Initializes a new instance of the EntireDetectResponse class.

EntireDetectResponse()

Source:
EntireDetectResponse.cs

Initializes a new instance of the EntireDetectResponse class.

public EntireDetectResponse ();
Public Sub New ()

Applies to

EntireDetectResponse(Int32, IList<Double>, IList<Double>, IList<Double>, IList<Boolean>, IList<Boolean>, IList<Boolean>)

Source:
EntireDetectResponse.cs

Initializes a new instance of the EntireDetectResponse class.

public EntireDetectResponse (int period, System.Collections.Generic.IList<double> expectedValues, System.Collections.Generic.IList<double> upperMargins, System.Collections.Generic.IList<double> lowerMargins, System.Collections.Generic.IList<bool> isAnomaly, System.Collections.Generic.IList<bool> isNegativeAnomaly, System.Collections.Generic.IList<bool> isPositiveAnomaly);
new Microsoft.Azure.CognitiveServices.AnomalyDetector.Models.EntireDetectResponse : int * System.Collections.Generic.IList<double> * System.Collections.Generic.IList<double> * System.Collections.Generic.IList<double> * System.Collections.Generic.IList<bool> * System.Collections.Generic.IList<bool> * System.Collections.Generic.IList<bool> -> Microsoft.Azure.CognitiveServices.AnomalyDetector.Models.EntireDetectResponse
Public Sub New (period As Integer, expectedValues As IList(Of Double), upperMargins As IList(Of Double), lowerMargins As IList(Of Double), isAnomaly As IList(Of Boolean), isNegativeAnomaly As IList(Of Boolean), isPositiveAnomaly As IList(Of Boolean))

Parameters

period
Int32

Frequency extracted from the series, zero means no recurrent pattern has been found.

expectedValues
IList<Double>

ExpectedValues contain expected value for each input point. The index of the array is consistent with the input series.

upperMargins
IList<Double>

UpperMargins contain upper margin of each input point. UpperMargin is used to calculate upperBoundary, which equals to expectedValue + (100 - marginScale)*upperMargin. Anomalies in response can be filtered by upperBoundary and lowerBoundary. By adjusting marginScale value, less significant anomalies can be filtered in client side. The index of the array is consistent with the input series.

lowerMargins
IList<Double>

LowerMargins contain lower margin of each input point. LowerMargin is used to calculate lowerBoundary, which equals to expectedValue - (100 - marginScale)*lowerMargin. Points between the boundary can be marked as normal ones in client side. The index of the array is consistent with the input series.

isAnomaly
IList<Boolean>

IsAnomaly contains anomaly properties for each input point. True means an anomaly either negative or positive has been detected. The index of the array is consistent with the input series.

isNegativeAnomaly
IList<Boolean>

IsNegativeAnomaly contains anomaly status in negative direction for each input point. True means a negative anomaly has been detected. A negative anomaly means the point is detected as an anomaly and its real value is smaller than the expected one. The index of the array is consistent with the input series.

isPositiveAnomaly
IList<Boolean>

IsPositiveAnomaly contain anomaly status in positive direction for each input point. True means a positive anomaly has been detected. A positive anomaly means the point is detected as an anomaly and its real value is larger than the expected one. The index of the array is consistent with the input series.

Applies to