Interface WeightedQuantileLoss.Builder

    • Method Detail

      • quantile

        WeightedQuantileLoss.Builder quantile​(Double quantile)

        The quantile. Quantiles divide a probability distribution into regions of equal probability. For example, if the distribution was divided into 5 regions of equal probability, the quantiles would be 0.2, 0.4, 0.6, and 0.8.

        Parameters:
        quantile - The quantile. Quantiles divide a probability distribution into regions of equal probability. For example, if the distribution was divided into 5 regions of equal probability, the quantiles would be 0.2, 0.4, 0.6, and 0.8.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lossValue

        WeightedQuantileLoss.Builder lossValue​(Double lossValue)

        The difference between the predicted value and the actual value over the quantile, weighted (normalized) by dividing by the sum over all quantiles.

        Parameters:
        lossValue - The difference between the predicted value and the actual value over the quantile, weighted (normalized) by dividing by the sum over all quantiles.
        Returns:
        Returns a reference to this object so that method calls can be chained together.