Class Anomaly.Builder

  • Enclosing class:
    Anomaly

    public static class Anomaly.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • signalName

        public Anomaly.Builder signalName​(String signalName)
        Name of a signal where current anomaly point belongs to
        Parameters:
        signalName - the value to set
        Returns:
        this builder
      • actualValue

        public Anomaly.Builder actualValue​(Double actualValue)
        The actual value for the anomaly point at given signal and timestamp/row
        Parameters:
        actualValue - the value to set
        Returns:
        this builder
      • estimatedValue

        public Anomaly.Builder estimatedValue​(Double estimatedValue)
        The estimated value for the anomaly point at given signal and timestamp/row
        Parameters:
        estimatedValue - the value to set
        Returns:
        this builder
      • imputedValue

        public Anomaly.Builder imputedValue​(Double imputedValue)
        The value imputed by an IDP step for missing values in origin data.
        Parameters:
        imputedValue - the value to set
        Returns:
        this builder
      • anomalyScore

        public Anomaly.Builder anomalyScore​(Double anomalyScore)
        A significant score ranged from 0 to 1 to each anomaly point.
        Parameters:
        anomalyScore - the value to set
        Returns:
        this builder