Interface ExplanationParams


  • public interface ExplanationParams
    Interface for parameters of the prediction explanations.
    • Method Detail

      • getThresholdLow

        double getThresholdLow()
        Getter for low threshold.
        Returns:
        low threshold.
      • withThresholdLow

        ExplanationParams withThresholdLow​(double value)
        Setter for low threshold.
        Parameters:
        value - low threshold.
        Returns:
        instance of the params with new low threshold.
      • getThresholdHigh

        double getThresholdHigh()
        Getter for high threshold.
        Returns:
        high threshold.
      • withThresholdHigh

        ExplanationParams withThresholdHigh​(double value)
        Setter for high threshold.
        Parameters:
        value - high threshold.
        Returns:
        instance of the params with new high threshold.
      • getMaxCodes

        int getMaxCodes()
        Getter for the max number of explanations to return.
        Returns:
        max number of explanations to return.
      • withMaxCodes

        ExplanationParams withMaxCodes​(int value)
        Setter for max codes.
        Parameters:
        value - max codes.
        Returns:
        instance of the params with new max codes.