SmartDetectionCondition Class
- java.
lang. Object - com.
azure. ai. metricsadvisor. administration. models. SmartDetectionCondition
- com.
public final class SmartDetectionCondition
Type that describes smart-detection parameters. In smart-detection mode, metrics advisor uses multiple ML based algorithms to compute severity value of data points, detector detect anomalies by checking whether those values falls within or outside of the range derived from sensitivity parameter.
Constructor Summary
Constructor | Description |
---|---|
SmartDetectionCondition(double sensitivity, AnomalyDetectorDirection detectorDirection, SuppressCondition suppressCondition) |
Create an instance of Smart |
Method Summary
Modifier and Type | Method and Description |
---|---|
Anomaly |
getAnomalyDetectorDirection()
Gets the direction that detector should use when comparing data point value against range derived from sensitivity . |
Double |
getSensitivity()
Gets the sensitivity value. |
Suppress |
getSuppressCondition()
Gets the suppress condition. |
Smart |
setAnomalyDetectorDirection(AnomalyDetectorDirection detectorDirection)
Sets the direction that detector should use when comparing data point value against range derived from the sensitivity. |
Smart |
setSensitivity(double sensitivity)
Sets the sensitivity value, it should be in the range (0, 100]. |
Smart |
setSuppressCondition(SuppressCondition suppressCondition)
Sets the suppress condition. |
Methods inherited from java.lang.Object
Constructor Details
SmartDetectionCondition
public SmartDetectionCondition(double sensitivity, AnomalyDetectorDirection detectorDirection, SuppressCondition suppressCondition)
Create an instance of SmartDetectionCondition describing how to identify anomalies using smart-detection mode.
Parameters:
sensitivity
should be considered as an anomaly. A value UP means
a data point severity value above the upper bound of the range is considered as an anomaly,
a value DOWN means a data point severity value below lower
bound of the range is considered as an anomaly.
Method Details
getAnomalyDetectorDirection
public AnomalyDetectorDirection getAnomalyDetectorDirection()
Gets the direction that detector should use when comparing data point value against range derived from sensitivity .
Returns:
getSensitivity
public Double getSensitivity()
Gets the sensitivity value.
the sensitivity value adjust the tolerance of anomalies, visually higher the value narrower the band (lower and upper bounds) around the time series.
Returns:
getSuppressCondition
public SuppressCondition getSuppressCondition()
Gets the suppress condition.
Returns:
setAnomalyDetectorDirection
public SmartDetectionCondition setAnomalyDetectorDirection(AnomalyDetectorDirection detectorDirection)
Sets the direction that detector should use when comparing data point value against range derived from the sensitivity.
Parameters:
Returns:
setSensitivity
public SmartDetectionCondition setSensitivity(double sensitivity)
Sets the sensitivity value, it should be in the range (0, 100].
Parameters:
Returns:
setSuppressCondition
public SmartDetectionCondition setSuppressCondition(SuppressCondition suppressCondition)
Sets the suppress condition.
Parameters:
Returns:
Applies to
Azure SDK for Java