Enum QuantileMethod

java.lang.Object
java.lang.Enum<QuantileMethod>
ai.rapids.cudf.QuantileMethod
All Implemented Interfaces:
Serializable, Comparable<QuantileMethod>, java.lang.constant.Constable

public enum QuantileMethod extends Enum<QuantileMethod>
Interpolation method to use when the desired quantile lies between two data points i and j.
  • Enum Constant Details

    • LINEAR

      public static final QuantileMethod LINEAR
      Linear interpolation between i and j
    • LOWER

      public static final QuantileMethod LOWER
      Lower data point (i)
    • HIGHER

      public static final QuantileMethod HIGHER
      Higher data point (j)
    • MIDPOINT

      public static final QuantileMethod MIDPOINT
      (i + j)/2
    • NEAREST

      public static final QuantileMethod NEAREST
      i or j, whichever is nearest
  • Method Details

    • values

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

      public static QuantileMethod valueOf(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:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null