public enum BinningStrategy extends java.lang.Enum<BinningStrategy>
Enum Constant and Description |
---|
CUSTOM_BINS
Custom bins: works with provided bins limits - todo
|
EQUAL_HEIGHT
Equal height: bins have approximately the same size - todo
- probably too costly to do it with MR task, better leave equal-width
|
EQUAL_WIDTH
Equal width: (max - min) / num_bins, optimized.
|
Modifier and Type | Method and Description |
---|---|
static BinningStrategy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BinningStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BinningStrategy EQUAL_WIDTH
public static final BinningStrategy EQUAL_HEIGHT
public static final BinningStrategy CUSTOM_BINS
public static BinningStrategy[] values()
for (BinningStrategy c : BinningStrategy.values()) System.out.println(c);
public static BinningStrategy valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null