Class ConfusionMatrix

    • Method Detail

      • numTruePositives

        public final Long numTruePositives()

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

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

        public final Long numFalsePositives()

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

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

        public final Long numTrueNegatives()

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

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

        public final Long numFalseNegatives()

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

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

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)