Enum Class BinningTransformation.BinningType
java.lang.Object
java.lang.Enum<BinningTransformation.BinningType>
org.tribuo.transform.transformations.BinningTransformation.BinningType
- All Implemented Interfaces:
Serializable
,Comparable<BinningTransformation.BinningType>
,Constable
- Enclosing class:
- BinningTransformation
public static enum BinningTransformation.BinningType
extends Enum<BinningTransformation.BinningType>
The allowed binning types.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionCreates bins of equal frequency (i.e., equal numbers of data points).Creates bins of equal width over the data range.Creates bins based on the mean and then +/- multiples of standard deviations. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static BinningTransformation.BinningType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
EQUAL_WIDTH
Creates bins of equal width over the data range. -
EQUAL_FREQUENCY
Creates bins of equal frequency (i.e., equal numbers of data points). -
STD_DEVS
Creates bins based on the mean and then +/- multiples of standard deviations.
-
-
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
-