public static enum SeedSelectionMethods.SeedSelection extends Enum<SeedSelectionMethods.SeedSelection>
Enum Constant and Description |
---|
FARTHEST_FIRST
The first seed is chosen randomly, and then all others are chosen
to be the farthest away from all other seeds
|
KPP
The k-means++ seeding algo:
The seed values will be probabilistically selected from the data set. |
MEAN_QUANTILES
Selects the seeds in one pass by selecting points as evenly
distributed quantiles for the distance of each point from the mean
of the whole data set.
|
RANDOM
The seed values will be randomly selected from the data set
|
Modifier and Type | Method and Description |
---|---|
static SeedSelectionMethods.SeedSelection |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SeedSelectionMethods.SeedSelection[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SeedSelectionMethods.SeedSelection RANDOM
public static final SeedSelectionMethods.SeedSelection KPP
EuclideanDistance
.
public static final SeedSelectionMethods.SeedSelection FARTHEST_FIRST
public static final SeedSelectionMethods.SeedSelection MEAN_QUANTILES
public static SeedSelectionMethods.SeedSelection[] values()
for (SeedSelectionMethods.SeedSelection c : SeedSelectionMethods.SeedSelection.values()) System.out.println(c);
public static SeedSelectionMethods.SeedSelection 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 © 2017. All rights reserved.