public static enum AutomaticStopClustering.Measure extends Enum<AutomaticStopClustering.Measure>
Enum Constant and Description |
---|
PK1
For each number of clusters k, the score for is defined as
W(k) = (I2(k) - mean(I2(k_i))) / std(I2(k_i))
This method will select the smallest k such that W(k) is greater than
or equal to some threshold.
|
PK2
For each number of clusters k, the score is defined as
W(k) = I2(k) / I2(k-1)
This method will select the smallest k such that W(k) is greater than
1 + std(I2(k-1))
|
PK3
For each number of clusters k, the score is defined as
W(k) = 2 * I2(k) / (I2(k-1) + I2(k+1))
This method will select the smallest k such that W(k) is greater than
1 + std(I2(k-1))
|
Modifier and Type | Method and Description |
---|---|
static AutomaticStopClustering.Measure |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AutomaticStopClustering.Measure[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AutomaticStopClustering.Measure PK1
public static final AutomaticStopClustering.Measure PK2
public static final AutomaticStopClustering.Measure PK3
public static AutomaticStopClustering.Measure[] values()
for (AutomaticStopClustering.Measure c : AutomaticStopClustering.Measure.values()) System.out.println(c);
public static AutomaticStopClustering.Measure valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullCopyright © 2012. All Rights Reserved.