Enum AUCSummationMethod
- All Implemented Interfaces:
Serializable, Comparable<AUCSummationMethod>
Specifies the Riemann summation method used.
- See Also:
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionApply mid-point summation scheme forAUCCurve.ROC.Apply right summation for increasing intervals and left summation for decreasing intervalsApply left summation for increasing intervals and right summation for decreasing intervals -
Method Summary
Modifier and TypeMethodDescriptionGets the AUCSummationMethod enum value by name, regardless of casestatic AUCSummationMethodReturns the enum constant of this type with the specified name.static AUCSummationMethod[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
INTERPOLATION
Apply mid-point summation scheme forAUCCurve.ROC. ForAUCCurve.PR, interpolates (true/false) positives but not the ratio that is precision -
MAJORING
Apply right summation for increasing intervals and left summation for decreasing intervals -
MINORING
Apply left summation for increasing intervals and right summation for decreasing intervals
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
get
Gets the AUCSummationMethod enum value by name, regardless of case- Parameters:
name- the name of the AUCSummationMethod enum value.- Returns:
- the AUCSummationMethod enum value.
-