Class AnomalyValue

java.lang.Object
com.azure.ai.anomalydetector.models.AnomalyValue

public final class AnomalyValue extends Object
The AnomalyValue model.
  • 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

      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.