public static enum KMeansPlusPlusClusterer.EmptyClusterStrategy extends Enum<KMeansPlusPlusClusterer.EmptyClusterStrategy>
| Enum Constant and Description |
|---|
ERROR
Generate an error.
|
FARTHEST_POINT
Create a cluster around the point farthest from its centroid.
|
LARGEST_POINTS_NUMBER
Split the cluster with largest number of points.
|
LARGEST_VARIANCE
Split the cluster with largest distance variance.
|
| Modifier and Type | Method and Description |
|---|---|
static KMeansPlusPlusClusterer.EmptyClusterStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KMeansPlusPlusClusterer.EmptyClusterStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KMeansPlusPlusClusterer.EmptyClusterStrategy LARGEST_VARIANCE
public static final KMeansPlusPlusClusterer.EmptyClusterStrategy LARGEST_POINTS_NUMBER
public static final KMeansPlusPlusClusterer.EmptyClusterStrategy FARTHEST_POINT
public static final KMeansPlusPlusClusterer.EmptyClusterStrategy ERROR
public static KMeansPlusPlusClusterer.EmptyClusterStrategy[] values()
for (KMeansPlusPlusClusterer.EmptyClusterStrategy c : KMeansPlusPlusClusterer.EmptyClusterStrategy.values()) System.out.println(c);
public static KMeansPlusPlusClusterer.EmptyClusterStrategy 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 © 2003–2016 The Apache Software Foundation. All rights reserved.