Enum AUCCurve

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

public enum AUCCurve extends Enum<AUCCurve>
Specifies the type of the curve to be computed, ROC for a Receiver Operator Characteristic curve [default] or PR for a Precision-Recall-curve.
  • Enum Constant Details

    • ROC

      public static final AUCCurve ROC
      Receiver Operator Characteristic curve
    • PR

      public static final AUCCurve PR
      Precision-Recall-curve
  • Method Details

    • values

      public static AUCCurve[] 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 AUCCurve 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 AUCCurve get(String name)
      Gets the AUCCurve enum value by name, regardless of case
      Parameters:
      name - the name of the AUCCurve enum value.
      Returns:
      the AUCCurve enum value.