public enum ClusterType extends Enum<ClusterType> implements CmdLineOptionsProvider
Modifier and Type | Class and Description |
---|---|
static class |
ClusterType.ClusterTypeOp
Options for each
ClusterType . |
Enum Constant and Description |
---|
FASTKMEANS
Fast (possibly approximate) K-Means
|
FASTMBKMEANS
Fast (possibly approximate) batched K-Means
|
HKMEANS
Hierarchical K-Means
|
RANDOM
Randomly sampled centroids (with replacement; the same centroid might be
picked multiple times)
|
RANDOMSET
Randomly sampled centroids (without replacement; a centroid can only be
picked once)
|
RFOREST
Random forest
|
Modifier and Type | Method and Description |
---|---|
static ClusterType.ClusterTypeOp |
sniffClusterType(BufferedInputStream oldout)
Guess the type of the clusters based on the file header
|
static ClusterType.ClusterTypeOp |
sniffClusterType(File oldout)
Guess the type of the clusters based on the file header
|
static ClusterType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ClusterType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
getOptions
public static final ClusterType RANDOM
public static final ClusterType RANDOMSET
public static final ClusterType FASTMBKMEANS
public static final ClusterType FASTKMEANS
public static final ClusterType HKMEANS
public static final ClusterType RFOREST
public static ClusterType[] values()
for (ClusterType c : ClusterType.values()) System.out.println(c);
public static ClusterType 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 nullpublic static ClusterType.ClusterTypeOp sniffClusterType(File oldout)
oldout
- public static ClusterType.ClusterTypeOp sniffClusterType(BufferedInputStream oldout)
oldout
-