Enum AUCSummationMethod

java.lang.Object
java.lang.Enum<AUCSummationMethod>
org.tensorflow.framework.metrics.AUCSummationMethod
All Implemented Interfaces:
Serializable, Comparable<AUCSummationMethod>

public enum AUCSummationMethod extends Enum<AUCSummationMethod>
Specifies the Riemann summation method used.
See Also:
  • Enum Constant Details

    • INTERPOLATION

      public static final AUCSummationMethod INTERPOLATION
      Apply mid-point summation scheme for AUCCurve.ROC. For AUCCurve.PR, interpolates (true/false) positives but not the ratio that is precision
    • MAJORING

      public static final AUCSummationMethod MAJORING
      Apply right summation for increasing intervals and left summation for decreasing intervals
    • MINORING

      public static final AUCSummationMethod MINORING
      Apply left summation for increasing intervals and right summation for decreasing intervals
  • Method Details

    • values

      public static AUCSummationMethod[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static AUCSummationMethod valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • get

      public AUCSummationMethod get(String name)
      Gets the AUCSummationMethod enum value by name, regardless of case
      Parameters:
      name - the name of the AUCSummationMethod enum value.
      Returns:
      the AUCSummationMethod enum value.