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

@JsonpDeserializable public enum NormalizeMethod extends Enum<NormalizeMethod> implements JsonEnum
See Also:
  • Enum Constant Details

    • Rescale_0_1

      public static final NormalizeMethod 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

      public static final NormalizeMethod 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

      public static final NormalizeMethod PercentOfSum
      This method normalizes each value so that it represents a percentage of the total sum it attributes to.
    • Mean

      public static final NormalizeMethod Mean
      This method normalizes such that each value is normalized by how much it differs from the average.
    • ZScore

      public static final NormalizeMethod ZScore
      This method normalizes such that each value represents how far it is from the mean relative to the standard deviation.
    • Softmax

      public static final NormalizeMethod Softmax
      This method normalizes such that each value is exponentiated and relative to the sum of the exponents of the original values.
  • Field Details

  • Method Details

    • values

      public static NormalizeMethod[] 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

      public static NormalizeMethod valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • jsonValue

      public String jsonValue()
      Specified by:
      jsonValue in interface JsonEnum