Class AnomalyExplanation

java.lang.Object
co.elastic.clients.elasticsearch.ml.AnomalyExplanation
All Implemented Interfaces:
JsonpSerializable

@JsonpDeserializable public class AnomalyExplanation extends Object implements JsonpSerializable
See Also:
  • Field Details

  • Method Details

    • of

    • anomalyCharacteristicsImpact

      @Nullable public final Integer anomalyCharacteristicsImpact()
      Impact from the duration and magnitude of the detected anomaly relative to the historical average.

      API name: anomaly_characteristics_impact

    • anomalyLength

      @Nullable public final Integer anomalyLength()
      Length of the detected anomaly in the number of buckets.

      API name: anomaly_length

    • anomalyType

      @Nullable public final String anomalyType()
      Type of the detected anomaly: spike or dip.

      API name: anomaly_type

    • highVariancePenalty

      @Nullable public final Boolean highVariancePenalty()
      Indicates reduction of anomaly score for the bucket with large confidence intervals. If a bucket has large confidence intervals, the score is reduced.

      API name: high_variance_penalty

    • incompleteBucketPenalty

      @Nullable public final Boolean incompleteBucketPenalty()
      If the bucket contains fewer samples than expected, the score is reduced.

      API name: incomplete_bucket_penalty

    • lowerConfidenceBound

      @Nullable public final Double lowerConfidenceBound()
      Lower bound of the 95% confidence interval.

      API name: lower_confidence_bound

    • multiBucketImpact

      @Nullable public final Integer multiBucketImpact()
      Impact of the deviation between actual and typical values in the past 12 buckets.

      API name: multi_bucket_impact

    • singleBucketImpact

      @Nullable public final Integer singleBucketImpact()
      Impact of the deviation between actual and typical values in the current bucket.

      API name: single_bucket_impact

    • typicalValue

      @Nullable public final Double typicalValue()
      Typical (expected) value for this bucket.

      API name: typical_value

    • upperConfidenceBound

      @Nullable public final Double upperConfidenceBound()
      Upper bound of the 95% confidence interval.

      API name: upper_confidence_bound

    • serialize

      public void serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
      Serialize this object to JSON.
      Specified by:
      serialize in interface JsonpSerializable
    • serializeInternal

      protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • setupAnomalyExplanationDeserializer

      protected static void setupAnomalyExplanationDeserializer(ObjectDeserializer<AnomalyExplanation.Builder> op)