LastDetectResponse Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
LastDetectResponse() |
Initializes a new instance of the LastDetectResponse class. |
LastDetectResponse(Int32, Int32, Double, Double, Double, Boolean, Boolean, Boolean) |
Initializes a new instance of the LastDetectResponse class. |
LastDetectResponse()
- Source:
- LastDetectResponse.cs
Initializes a new instance of the LastDetectResponse class.
public LastDetectResponse ();
Public Sub New ()
Applies to
LastDetectResponse(Int32, Int32, Double, Double, Double, Boolean, Boolean, Boolean)
- Source:
- LastDetectResponse.cs
Initializes a new instance of the LastDetectResponse class.
public LastDetectResponse (int period, int suggestedWindow, double expectedValue, double upperMargin, double lowerMargin, bool isAnomaly, bool isNegativeAnomaly, bool isPositiveAnomaly);
new Microsoft.Azure.CognitiveServices.AnomalyDetector.Models.LastDetectResponse : int * int * double * double * double * bool * bool * bool -> Microsoft.Azure.CognitiveServices.AnomalyDetector.Models.LastDetectResponse
Public Sub New (period As Integer, suggestedWindow As Integer, expectedValue As Double, upperMargin As Double, lowerMargin As Double, isAnomaly As Boolean, isNegativeAnomaly As Boolean, isPositiveAnomaly As Boolean)
Parameters
- period
- Int32
Frequency extracted from the series, zero means no recurrent pattern has been found.
- suggestedWindow
- Int32
Suggested input series points needed for detecting the latest point.
- expectedValue
- Double
Expected value of the latest point.
- upperMargin
- Double
Upper margin of the latest point. UpperMargin is used to calculate upperBoundary, which equals to expectedValue + (100 - marginScale)*upperMargin. If the value of latest point is between upperBoundary and lowerBoundary, it should be treated as normal value. By adjusting marginScale value, anomaly status of latest point can be changed.
- lowerMargin
- Double
Lower margin of the latest point. LowerMargin is used to calculate lowerBoundary, which equals to expectedValue - (100 - marginScale)*lowerMargin.
- isAnomaly
- Boolean
Anomaly status of the latest point, true means the latest point is an anomaly either in negative direction or positive direction.
- isNegativeAnomaly
- Boolean
Anomaly status in negative direction of the latest point. True means the latest point is an anomaly and its real value is smaller than the expected one.
- isPositiveAnomaly
- Boolean
Anomaly status in positive direction of the latest point. True means the latest point is an anomaly and its real value is larger than the expected one.
Applies to
Azure SDK for .NET