Package org.kie.pmml.api.enums
Enum LOCAL_TERM_WEIGHTS
- java.lang.Object
-
- java.lang.Enum<LOCAL_TERM_WEIGHTS>
-
- org.kie.pmml.api.enums.LOCAL_TERM_WEIGHTS
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<LOCAL_TERM_WEIGHTS>,Named
public enum LOCAL_TERM_WEIGHTS extends java.lang.Enum<LOCAL_TERM_WEIGHTS> implements Named
- See Also:
- localTermWeights
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AUGMENTED_NORMALIZED_TERM_FREQUENCYBINARYLOGARITHMICTERM_FREQUENCY
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LOCAL_TERM_WEIGHTSbyName(java.lang.String name)java.lang.StringgetName()static LOCAL_TERM_WEIGHTSvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static LOCAL_TERM_WEIGHTS[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TERM_FREQUENCY
public static final LOCAL_TERM_WEIGHTS TERM_FREQUENCY
-
BINARY
public static final LOCAL_TERM_WEIGHTS BINARY
-
LOGARITHMIC
public static final LOCAL_TERM_WEIGHTS LOGARITHMIC
-
AUGMENTED_NORMALIZED_TERM_FREQUENCY
public static final LOCAL_TERM_WEIGHTS AUGMENTED_NORMALIZED_TERM_FREQUENCY
-
-
Method Detail
-
values
public static LOCAL_TERM_WEIGHTS[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (LOCAL_TERM_WEIGHTS c : LOCAL_TERM_WEIGHTS.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LOCAL_TERM_WEIGHTS valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
byName
public static LOCAL_TERM_WEIGHTS byName(java.lang.String name)
-
-