public static enum HierarchicalAgglomerativeClustering.ClusterLinkage extends Enum<HierarchicalAgglomerativeClustering.ClusterLinkage>
Enum Constant and Description |
---|
COMPLETE_LINKAGE
Clusters will be compared based on the total similarity of all
pair-wise comparisons of the data points in each.
|
MEAN_LINKAGE
Clusters will be compared using the similarity of the computed mean
data point (or centroid) for each cluster.
|
MEDIAN_LINKAGE
Clusters will be compared using the similarity of the computed
median data point for each cluster
|
SINGLE_LINKAGE
Clusters will be compared based on the most similar link between
them.
|
Modifier and Type | Method and Description |
---|---|
static HierarchicalAgglomerativeClustering.ClusterLinkage |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HierarchicalAgglomerativeClustering.ClusterLinkage[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HierarchicalAgglomerativeClustering.ClusterLinkage SINGLE_LINKAGE
public static final HierarchicalAgglomerativeClustering.ClusterLinkage COMPLETE_LINKAGE
public static final HierarchicalAgglomerativeClustering.ClusterLinkage MEAN_LINKAGE
public static final HierarchicalAgglomerativeClustering.ClusterLinkage MEDIAN_LINKAGE
public static HierarchicalAgglomerativeClustering.ClusterLinkage[] values()
for (HierarchicalAgglomerativeClustering.ClusterLinkage c : HierarchicalAgglomerativeClustering.ClusterLinkage.values()) System.out.println(c);
public static HierarchicalAgglomerativeClustering.ClusterLinkage 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.