public static class EM.Parameterizer<V extends NumberVector<?>> extends AbstractParameterizer
Modifier and Type | Field and Description |
---|---|
protected double |
delta
Stopping threshold
|
static 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 initialization method
|
protected KMeansInitialization<V> |
initializer
Initialization method
|
protected 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 int |
maxiter
Maximum number of iterations.
|
Constructor and Description |
---|
EM.Parameterizer() |
Modifier and Type | Method and Description |
---|---|
protected EM<V> |
makeInstance()
Make an instance after successful configuration.
|
protected void |
makeOptions(Parameterization config)
Add all options.
|
configure, make
public static final OptionID K_ID
public static final OptionID DELTA_ID
public static final OptionID INIT_ID
protected int k
protected double delta
protected KMeansInitialization<V extends NumberVector<?>> initializer
protected int maxiter
protected void makeOptions(Parameterization config)
AbstractParameterizer
makeOptions
in class AbstractParameterizer
config
- Parameterization to add options to.protected EM<V> makeInstance()
AbstractParameterizer
makeInstance
in class AbstractParameterizer