Enum Class NormalizeMethod
java.lang.Object
java.lang.Enum<NormalizeMethod>
co.elastic.clients.elasticsearch._types.aggregations.NormalizeMethod
- All Implemented Interfaces:
JsonEnum
,JsonpSerializable
,Serializable
,Comparable<NormalizeMethod>
,Constable
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
Nested classes/interfaces inherited from interface co.elastic.clients.json.JsonEnum
JsonEnum.Deserializer<T extends JsonEnum>
-
Enum Constant Summary
Enum ConstantDescriptionThis method normalizes such that each value is normalized by how much it differs from the average.This method normalizes each value so that it represents a percentage of the total sum it attributes to.This method rescales the data such that the minimum number is 0, and the maximum number is 1, with the rest normalized linearly in-between.This method rescales the data such that the minimum number is 0, and the maximum number is 100, with the rest normalized linearly in-between.This method normalizes such that each value is exponentiated and relative to the sum of the exponents of the original values.This method normalizes such that each value represents how far it is from the mean relative to the standard deviation. -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic NormalizeMethod
Returns the enum constant of this class with the specified name.static NormalizeMethod[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
Rescale_0_1
This method rescales the data such that the minimum number is 0, and the maximum number is 1, with the rest normalized linearly in-between. -
Rescale_0_100
This method rescales the data such that the minimum number is 0, and the maximum number is 100, with the rest normalized linearly in-between. -
PercentOfSum
This method normalizes each value so that it represents a percentage of the total sum it attributes to. -
Mean
This method normalizes such that each value is normalized by how much it differs from the average. -
ZScore
This method normalizes such that each value represents how far it is from the mean relative to the standard deviation. -
Softmax
This method normalizes such that each value is exponentiated and relative to the sum of the exponents of the original values.
-
-
Field Details
-
_DESERIALIZER
-
-
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
-
jsonValue
-