Package elki.clustering.em
Class EM.Par<O,M extends MeanModel>
- java.lang.Object
-
- elki.clustering.em.EM.Par<O,M>
-
- All Implemented Interfaces:
Parameterizer
public static class EM.Par<O,M extends MeanModel> extends java.lang.Object implements Parameterizer
Parameterization class.- Author:
- Erich Schubert
-
-
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') < em.delta, must be a double equal to or greater than 0.protected int
k
Number of clusters.static OptionID
K_ID
Parameter to specify the number of clusters to find.protected int
maxiter
Maximum number of iterations.static OptionID
MAXITER_ID
Parameter to specify the maximum number of iterations.protected EMClusterModelFactory<O,M>
mfactory
Cluster model factory.protected int
miniter
Minimum number of iterations.static OptionID
MINITER_ID
Parameter to specify a minimum number of iterations.static OptionID
MODEL_ID
Parameter to specify the EM cluster models to use.(package private) double
prior
Prior to enable MAP estimation (use 0 for MLE)static OptionID
PRIOR_ID
Parameter to specify the MAP prior(package private) boolean
soft
Retain soft assignments?static OptionID
SOFT_ID
Parameter to specify the saving of 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.EM<O,M>
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.
-
DELTA_ID
public static final OptionID DELTA_ID
Parameter to specify the termination criterion for maximization of E(M): E(M) - E(M') < em.delta, must be a double equal to or greater than 0.
-
MODEL_ID
public static final OptionID MODEL_ID
Parameter to specify the EM cluster models to use.
-
MINITER_ID
public static final OptionID MINITER_ID
Parameter to specify a minimum number of iterations.
-
MAXITER_ID
public static final OptionID MAXITER_ID
Parameter to specify the maximum number of iterations.
-
PRIOR_ID
public static final OptionID PRIOR_ID
Parameter to specify the MAP prior
-
SOFT_ID
public static final OptionID SOFT_ID
Parameter to specify the saving of soft assignments
-
k
protected int k
Number of clusters.
-
delta
protected double delta
Stopping threshold
-
mfactory
protected EMClusterModelFactory<O,M extends MeanModel> mfactory
Cluster model factory.
-
miniter
protected int miniter
Minimum number of iterations.
-
maxiter
protected int maxiter
Maximum number of iterations.
-
prior
double prior
Prior to enable MAP estimation (use 0 for MLE)
-
soft
boolean soft
Retain soft assignments?
-
-
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 EM<O,M> 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
-
-