Interface ErrorMetric.Builder

    • Method Detail

      • forecastType

        ErrorMetric.Builder forecastType​(String forecastType)

        The Forecast type used to compute WAPE, MAPE, MASE, and RMSE.

        Parameters:
        forecastType - The Forecast type used to compute WAPE, MAPE, MASE, and RMSE.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • wape

        ErrorMetric.Builder wape​(Double wape)

        The weighted absolute percentage error (WAPE).

        Parameters:
        wape - The weighted absolute percentage error (WAPE).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • rmse

        ErrorMetric.Builder rmse​(Double rmse)

        The root-mean-square error (RMSE).

        Parameters:
        rmse - The root-mean-square error (RMSE).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • mase

        ErrorMetric.Builder mase​(Double mase)

        The Mean Absolute Scaled Error (MASE)

        Parameters:
        mase - The Mean Absolute Scaled Error (MASE)
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • mape

        ErrorMetric.Builder mape​(Double mape)

        The Mean Absolute Percentage Error (MAPE)

        Parameters:
        mape - The Mean Absolute Percentage Error (MAPE)
        Returns:
        Returns a reference to this object so that method calls can be chained together.