Interface RuleThreshold.Builder

  • Method Details

    • minScore

      RuleThreshold.Builder minScore(Double minScore)

      The minimum passing score, for a numeric evaluator. A finite number from -1e9 to 1e9.

      Parameters:
      minScore - The minimum passing score, for a numeric evaluator. A finite number from -1e9 to 1e9.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • maxScore

      RuleThreshold.Builder maxScore(Double maxScore)

      The maximum passing score, for a numeric evaluator whose scoreDirection is LOWER_IS_BETTER. A finite number from -1e9 to 1e9.

      Parameters:
      maxScore - The maximum passing score, for a numeric evaluator whose scoreDirection is LOWER_IS_BETTER. A finite number from -1e9 to 1e9.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • passLabels

      RuleThreshold.Builder passLabels(Collection<String> passLabels)

      The labels that pass, for a categorical evaluator. From 1 to 16 labels, each up to 256 characters.

      Parameters:
      passLabels - The labels that pass, for a categorical evaluator. From 1 to 16 labels, each up to 256 characters.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • passLabels

      RuleThreshold.Builder passLabels(String... passLabels)

      The labels that pass, for a categorical evaluator. From 1 to 16 labels, each up to 256 characters.

      Parameters:
      passLabels - The labels that pass, for a categorical evaluator. From 1 to 16 labels, each up to 256 characters.
      Returns:
      Returns a reference to this object so that method calls can be chained together.