Class AnomalyValue
- java.lang.Object
-
- com.azure.ai.anomalydetector.models.AnomalyValue
-
public final class AnomalyValue extends Object
The AnomalyValue model.
-
-
Constructor Summary
Constructors Constructor Description AnomalyValue()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<AnomalyInterpretation>
getInterpretation()
Get the interpretation property: The interpretation property.float
getScore()
Get the score property: Raw score from the model.float
getSeverity()
Get the severity property: Indicates the significance of the anomaly.boolean
isAnomaly()
Get the isAnomaly property: True if an anomaly is detected at the current timestamp.AnomalyValue
setInterpretation(List<AnomalyInterpretation> interpretation)
Set the interpretation property: The interpretation property.AnomalyValue
setIsAnomaly(boolean isAnomaly)
Set the isAnomaly property: True if an anomaly is detected at the current timestamp.AnomalyValue
setScore(float score)
Set the score property: Raw score from the model.AnomalyValue
setSeverity(float severity)
Set the severity property: Indicates the significance of the anomaly.
-
-
-
Method Detail
-
isAnomaly
public boolean isAnomaly()
Get the isAnomaly property: True if an anomaly is detected at the current timestamp.- Returns:
- the isAnomaly value.
-
setIsAnomaly
public AnomalyValue setIsAnomaly(boolean isAnomaly)
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
public AnomalyValue setSeverity(float severity)
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
public AnomalyValue setScore(float score)
Set the score property: Raw score from the model.- Parameters:
score
- the score value to set.- Returns:
- the AnomalyValue object itself.
-
getInterpretation
public List<AnomalyInterpretation> getInterpretation()
Get the interpretation property: The interpretation property.- Returns:
- the interpretation value.
-
setInterpretation
public AnomalyValue setInterpretation(List<AnomalyInterpretation> interpretation)
Set the interpretation property: The interpretation property.- Parameters:
interpretation
- the interpretation value to set.- Returns:
- the AnomalyValue object itself.
-
-