Class AnomalyValue
java.lang.Object
com.azure.ai.anomalydetector.models.AnomalyValue
The AnomalyValue model.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the interpretation property: The interpretation property.float
getScore()
Get the score property: Raw score from the model.float
Get the severity property: Indicates the significance of the anomaly.boolean
Get the isAnomaly property: True if an anomaly is detected at the current timestamp.setInterpretation
(List<AnomalyInterpretation> interpretation) Set the interpretation property: The interpretation property.setIsAnomaly
(boolean isAnomaly) Set the isAnomaly property: True if an anomaly is detected at the current timestamp.setScore
(float score) Set the score property: Raw score from the model.setSeverity
(float severity) Set the severity property: Indicates the significance of the anomaly.
-
Constructor Details
-
AnomalyValue
public AnomalyValue()
-
-
Method Details
-
isAnomaly
public boolean isAnomaly()Get the isAnomaly property: True if an anomaly is detected at the current timestamp.- Returns:
- the isAnomaly value.
-
setIsAnomaly
Set the isAnomaly property: True if an anomaly is detected at the current timestamp.- Parameters:
isAnomaly
- the isAnomaly value to set.- Returns:
- the AnomalyValue object itself.
-
getSeverity
public float getSeverity()Get the severity property: Indicates the significance of the anomaly. The higher the severity, the more significant the anomaly.- Returns:
- the severity value.
-
setSeverity
Set the severity property: Indicates the significance of the anomaly. The higher the severity, the more significant the anomaly.- Parameters:
severity
- the severity value to set.- Returns:
- the AnomalyValue object itself.
-
getScore
public float getScore()Get the score property: Raw score from the model.- Returns:
- the score value.
-
setScore
Set the score property: Raw score from the model.- Parameters:
score
- the score value to set.- Returns:
- the AnomalyValue object itself.
-
getInterpretation
Get the interpretation property: The interpretation property.- Returns:
- the interpretation value.
-
setInterpretation
Set the interpretation property: The interpretation property.- Parameters:
interpretation
- the interpretation value to set.- Returns:
- the AnomalyValue object itself.
-