Interface WindowSummary.Builder

    • Method Detail

      • testWindowStart

        WindowSummary.Builder testWindowStart​(Instant testWindowStart)

        The timestamp that defines the start of the window.

        Parameters:
        testWindowStart - The timestamp that defines the start of the window.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • testWindowEnd

        WindowSummary.Builder testWindowEnd​(Instant testWindowEnd)

        The timestamp that defines the end of the window.

        Parameters:
        testWindowEnd - The timestamp that defines the end of the window.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • itemCount

        WindowSummary.Builder itemCount​(Integer itemCount)

        The number of data points within the window.

        Parameters:
        itemCount - The number of data points within the window.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • evaluationType

        WindowSummary.Builder evaluationType​(String evaluationType)

        The type of evaluation.

        • SUMMARY - The average metrics across all windows.

        • COMPUTED - The metrics for the specified window.

        Parameters:
        evaluationType - The type of evaluation.

        • SUMMARY - The average metrics across all windows.

        • COMPUTED - The metrics for the specified window.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        EvaluationType, EvaluationType
      • evaluationType

        WindowSummary.Builder evaluationType​(EvaluationType evaluationType)

        The type of evaluation.

        • SUMMARY - The average metrics across all windows.

        • COMPUTED - The metrics for the specified window.

        Parameters:
        evaluationType - The type of evaluation.

        • SUMMARY - The average metrics across all windows.

        • COMPUTED - The metrics for the specified window.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        EvaluationType, EvaluationType
      • metrics

        WindowSummary.Builder metrics​(Metrics metrics)

        Provides metrics used to evaluate the performance of a predictor.

        Parameters:
        metrics - Provides metrics used to evaluate the performance of a predictor.
        Returns:
        Returns a reference to this object so that method calls can be chained together.