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<?>
cffactory
CFTree factory.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.static OptionID
INIT_ID
Parameter to specify the EM cluster models to use.protected BetulaClusterModelFactory<?>
initialization
initialization methodprotected int
k
k Parameter.protected int
maxiter
Maximum number of iterations.protected double
prior
static OptionID
PRIOR_ID
Parameter to specify the MAP priorprotected boolean
soft
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.BetulaGMM
make()
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: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 BetulaGMM 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
-
-