Package elki.clustering.kmeans
Class FuzzyCMeans.Par
- java.lang.Object
-
- elki.clustering.kmeans.FuzzyCMeans.Par
-
- All Implemented Interfaces:
Parameterizer
- Enclosing class:
- FuzzyCMeans<V extends NumberVector>
public static class FuzzyCMeans.Par extends java.lang.Object implements Parameterizer
Parameterization class.- Author:
- Robert Gehde
-
-
Field Summary
Fields Modifier and Type Field Description protected double
delta
Stopping thresholdstatic OptionID
DELTA_ID
Parameter to specify the termination criterion for maximization of E(M): E(M) - E(M') < fcm.delta, must be a double equal to or greater than 0.static OptionID
INIT_ID
Parameter for k-Means init for initial cluster centers(package private) KMeansInitialization
initializer
K-Means init for initial cluster centersprotected int
k
Number of clusters.static OptionID
K_ID
Parameter to specify the number of clusters to find, must be an integer greater than 0.protected double
m
Weight exponentstatic OptionID
M_ID
Parameter to set weight exponentprotected int
maxiter
Maximum number of iterations.protected int
miniter
Minimum number of iterations.static OptionID
MINITER_ID
Parameter to specify a minimum number of iterationsprotected boolean
soft
retain soft assignmentsstatic OptionID
SOFT_ID
Parameter to retain soft assignments
-
Constructor Summary
Constructors Constructor Description Par()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
configure(Parameterization config)
Configure the class.FuzzyCMeans<NumberVector>
make()
Make an instance after successful configuration.
-
-
-
Field Detail
-
K_ID
public static final OptionID K_ID
Parameter to specify the number of clusters to find, must be an integer greater than 0.
-
DELTA_ID
public static final OptionID DELTA_ID
Parameter to specify the termination criterion for maximization of E(M): E(M) - E(M') < fcm.delta, must be a double equal to or greater than 0.
-
MINITER_ID
public static final OptionID MINITER_ID
Parameter to specify a minimum number of iterations
-
M_ID
public static final OptionID M_ID
Parameter to set weight exponent
-
SOFT_ID
public static final OptionID SOFT_ID
Parameter to retain soft assignments
-
INIT_ID
public static final OptionID INIT_ID
Parameter for k-Means init for initial cluster centers
-
k
protected int k
Number of clusters.
-
delta
protected double delta
Stopping threshold
-
miniter
protected int miniter
Minimum number of iterations.
-
maxiter
protected int maxiter
Maximum number of iterations.
-
m
protected double m
Weight exponent
-
soft
protected boolean soft
retain soft assignments
-
initializer
KMeansInitialization initializer
K-Means init for initial cluster centers
-
-
Method Detail
-
configure
public void configure(Parameterization config)
Description copied from interface:Parameterizer
Configure the class.Note: the status is collected by the parameterization object, so that multiple errors may arise and be reported in one run.
- Specified by:
configure
in interfaceParameterizer
- Parameters:
config
- Parameterization
-
make
public FuzzyCMeans<NumberVector> make()
Description copied from interface:Parameterizer
Make an instance after successful configuration.Note: your class should return the exact type, only this very broad interface should use
Object
as return type.- Specified by:
make
in interfaceParameterizer
- Returns:
- a new instance
-
-