Module datarush.analytics
Enum Class StatsFunctions.NormalizeMethod
java.lang.Object
java.lang.Enum<StatsFunctions.NormalizeMethod>
com.pervasive.datarush.analytics.functions.StatsFunctions.NormalizeMethod
- All Implemented Interfaces:
Serializable,Comparable<StatsFunctions.NormalizeMethod>,java.lang.constant.Constable
- Enclosing class:
- StatsFunctions
Supported methods of value normalization.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionReturn the suffix added to fields normalized by this method.Returns the enum constant of this class with the specified name.static StatsFunctions.NormalizeMethod[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
MINMAX
Normalize using the min-max method:n = (x - min) / (max - min). -
ZSCORE
Normalize using z-score:z(x) = (x - mean) / standard_deviation.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
getSuffix
Return the suffix added to fields normalized by this method.- Returns:
- field name suffix
-