Package elki.clustering.em
Class BetulaGMM.Par
- java.lang.Object
-
- elki.clustering.em.BetulaGMM.Par
-
- All Implemented Interfaces:
Parameterizer
- Direct Known Subclasses:
BetulaGMMWeighted.Par
- Enclosing class:
- BetulaGMM
public static class BetulaGMM.Par extends java.lang.Object implements Parameterizer
Parameterizer- Author:
- Andreas Lang
-
-
Field Summary
Fields Modifier and Type Field Description (package private) CFTree.Factory<?>cffactoryCFTree factory.protected doubledeltaStopping thresholdstatic OptionIDDELTA_IDParameter 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.static OptionIDINIT_IDParameter to specify the EM cluster models to use.protected BetulaClusterModelFactory<?>initializationinitialization methodprotected intkk Parameter.protected intmaxiterMaximum number of iterations.protected doublepriorstatic OptionIDPRIOR_IDParameter to specify the MAP priorprotected booleansoftRetain soft assignments.
-
Constructor Summary
Constructors Constructor Description Par()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconfigure(Parameterization config)Configure the class.BetulaGMMmake()Make an instance after successful configuration.
-
-
-
Field Detail
-
INIT_ID
public static final OptionID INIT_ID
Parameter to specify the EM cluster models to use.
-
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.
-
PRIOR_ID
public static final OptionID PRIOR_ID
Parameter to specify the MAP prior
-
cffactory
CFTree.Factory<?> cffactory
CFTree factory.
-
k
protected int k
k Parameter.
-
maxiter
protected int maxiter
Maximum number of iterations.
-
delta
protected double delta
Stopping threshold
-
soft
protected boolean soft
Retain soft assignments.
-
prior
protected double prior
-
initialization
protected BetulaClusterModelFactory<?> initialization
initialization method
-
-
Method Detail
-
configure
public void configure(Parameterization config)
Description copied from interface:ParameterizerConfigure 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:
configurein interfaceParameterizer- Parameters:
config- Parameterization
-
make
public BetulaGMM make()
Description copied from interface:ParameterizerMake an instance after successful configuration.Note: your class should return the exact type, only this very broad interface should use
Objectas return type.- Specified by:
makein interfaceParameterizer- Returns:
- a new instance
-
-