Class OFIMetricDataPoint

    • Method Detail

      • fpr

        public final Float fpr()

        The false positive rate. This is the percentage of total legitimate events that are incorrectly predicted as fraud.

        Returns:
        The false positive rate. This is the percentage of total legitimate events that are incorrectly predicted as fraud.
      • precision

        public final Float precision()

        The percentage of fraud events correctly predicted as fraudulent as compared to all events predicted as fraudulent.

        Returns:
        The percentage of fraud events correctly predicted as fraudulent as compared to all events predicted as fraudulent.
      • tpr

        public final Float tpr()

        The true positive rate. This is the percentage of total fraud the model detects. Also known as capture rate.

        Returns:
        The true positive rate. This is the percentage of total fraud the model detects. Also known as capture rate.
      • threshold

        public final Float threshold()

        The model threshold that specifies an acceptable fraud capture rate. For example, a threshold of 500 means any model score 500 or above is labeled as fraud.

        Returns:
        The model threshold that specifies an acceptable fraud capture rate. For example, a threshold of 500 means any model score 500 or above is labeled as fraud.
      • 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)