Interface ConfusionMatrix.Builder

  • Method Details

    • numTruePositives

      ConfusionMatrix.Builder numTruePositives(Long numTruePositives)

      The number of matches in the data that the transform correctly found, in the confusion matrix for your transform.

      Parameters:
      numTruePositives - The number of matches in the data that the transform correctly found, in the confusion matrix for your transform.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • numFalsePositives

      ConfusionMatrix.Builder numFalsePositives(Long numFalsePositives)

      The number of nonmatches in the data that the transform incorrectly classified as a match, in the confusion matrix for your transform.

      Parameters:
      numFalsePositives - The number of nonmatches in the data that the transform incorrectly classified as a match, in the confusion matrix for your transform.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • numTrueNegatives

      ConfusionMatrix.Builder numTrueNegatives(Long numTrueNegatives)

      The number of nonmatches in the data that the transform correctly rejected, in the confusion matrix for your transform.

      Parameters:
      numTrueNegatives - The number of nonmatches in the data that the transform correctly rejected, in the confusion matrix for your transform.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • numFalseNegatives

      ConfusionMatrix.Builder numFalseNegatives(Long numFalseNegatives)

      The number of matches in the data that the transform didn't find, in the confusion matrix for your transform.

      Parameters:
      numFalseNegatives - The number of matches in the data that the transform didn't find, in the confusion matrix for your transform.
      Returns:
      Returns a reference to this object so that method calls can be chained together.